Commit graph

30 commits

Author SHA1 Message Date
e0cff677a5
wayland/layershell: refactor layer shell surface integration
In addition to the much needed cleanup:

- The bridge/extension type is now directly tied to the QWindow
instead of the WlrLayershell object, and is much smaller.
- Layer requests are now comitted via polish instead of for each
change individually.
2025-05-13 14:56:49 -07:00
6a8284dae3
core/window: add implicit size properties to window types 2025-05-12 19:42:46 -07:00
4ea77a8eb6
wayland: update QWaylandShellSurface impls to use updateExposure()
For Qt 6.9.0
2025-03-27 15:57:57 -07:00
918dd2392d
build/wayland: do not link to a target in wl_proto 2025-01-11 23:59:19 -08:00
2c411fce5a
all: fix new lints 2025-01-07 03:11:19 -08:00
2571766d3b
all: fix clang 18 lints 2024-11-24 03:36:04 -08:00
afa1b6f88b
wayland/layershell: link to xdg-shell protocol codegen 2024-11-22 18:57:11 -08:00
7ffce72b31
all: optimize build 2024-11-05 04:15:17 -08:00
1168879d6d
build: only install necessary qml module files 2024-11-04 14:13:37 -08:00
a931adf033
all: add DEPENDENCIES entries to qml modules
Fixes some qmlls/qmllint issues.
2024-10-31 14:05:02 -07:00
4e48c6eefb
all: refactor windows code out of core
There are still some links from core to window but its now separate
enough to fix PanelWindow in qml tooling.
2024-10-28 16:18:41 -07:00
accdc59a1c
wayland/all: scale layers and popup anchors correctly
Layers now scale window size and exclusive zone to native
pixels. Popup anchors do the same.
2024-09-14 01:31:39 -07:00
a9e4720fae
docs: use new member reference shorthand 2024-07-21 17:41:49 -07:00
e9cacbd92d
all: use type/prop shorthand in docs 2024-07-14 16:17:51 -07:00
79cbfba48a
wayland/layershell: add warning that exclusive focus is not a lock
Apparently this needed to be said.
2024-07-11 22:32:21 -07:00
523de78796
wayland/layershell: ensure state changes are comitted without render
Previously they were not comitted and did not apply until the next
rendered frame.
2024-06-13 16:23:28 -07:00
6c9526761c
wayland: fix UAF in layershell surface destructor 2024-05-31 00:24:58 -07:00
fd5b73adbb
wayland: fix Qt 6.7 compatibility 2024-04-12 01:21:26 -07:00
9625129844
core: replace throws with qFatal 2024-03-27 02:13:47 -07:00
3a0381dcbe
core/window: backing windows can now be destroyed and recreated
This fixes a crash in layershells and the setVisible crash on nvidia.
2024-03-27 00:45:53 -07:00
463f9a297f
root: recreate the qml engine on reload instead of clearing it
This causes singletons to be recreated instead of kept alive.
2024-03-12 14:55:51 -07:00
c44041653c
build: greatly speed up build times using pch 2024-03-11 18:18:55 -07:00
3480707e99
wayland: namespace type names a bit to prevent future conflicts 2024-03-11 06:21:23 -07:00
7a15495e3f
layershell: fix protocol error on popup attachment 2024-03-10 03:02:40 -07:00
5ac04649aa
fix: ub/crash when changing layershell props after hiding window 2024-03-04 17:54:33 -08:00
63180382be
misc: change version to 0.1 2024-03-04 05:37:24 -08:00
d06b67107b
docs(layer): improve WlrLayershell documentation 2024-02-29 00:54:18 -08:00
cbdfba1a3f
chore: clean up lints 2024-02-28 21:30:06 -08:00
4eac0b40c3
fix(wayland): fix ext screens resetting and causing protocol error
Could not reproduce this personally but I am told this fixes it.
2024-02-28 21:11:28 -08:00
cfd9a27619
refactor: move wlr_layershell to its own subdirectory 2024-02-26 03:13:55 -08:00