Commit graph

18 commits

Author SHA1 Message Date
20322484b9
wayland/layershell: fix bridge destructor use after free on reload
Under some conditions, Qt will recreate the layer surface. The layer
surface destructor tries to destroy the bridge, but doesn't actually
need to because the bridge is a child of the QWindow owning the layer,
meaning not destroying it is actually completely fine.
2025-06-15 02:52:16 -07:00
ef077ddd24
core/panelwindow: move Margins to types.hpp 2025-05-30 00:33:00 -07:00
bf235d3d4d
wayland/layershell: ensure bridge is nulled on layer destruction
Fixes rare race condition crashes.
2025-05-25 16:11:57 -07:00
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
2c411fce5a
all: fix new lints 2025-01-07 03:11:19 -08: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
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
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
cbdfba1a3f
chore: clean up lints 2024-02-28 21:30:06 -08:00
cfd9a27619
refactor: move wlr_layershell to its own subdirectory 2024-02-26 03:13:55 -08:00
Renamed from src/wayland/layer_surface.cpp (Browse further)