outfoxxed
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
outfoxxed
ef077ddd24
core/panelwindow: move Margins to types.hpp
2025-05-30 00:33:00 -07:00
outfoxxed
2e3c15f7a1
wayland/layershell: use bindable implicit size in exclusive zone calc
...
Fixes #42
2025-05-28 02:07:21 -07:00
outfoxxed
bf235d3d4d
wayland/layershell: ensure bridge is nulled on layer destruction
...
Fixes rare race condition crashes.
2025-05-25 16:11:57 -07:00
outfoxxed
edfc4c681c
wayland/layershell: ensure exclusive zone is updated on zone/mode chg
2025-05-18 23:15:52 -07:00
outfoxxed
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
outfoxxed
6a8284dae3
core/window: add implicit size properties to window types
2025-05-12 19:42:46 -07:00
outfoxxed
4ea77a8eb6
wayland: update QWaylandShellSurface impls to use updateExposure()
...
For Qt 6.9.0
2025-03-27 15:57:57 -07:00
outfoxxed
918dd2392d
build/wayland: do not link to a target in wl_proto
2025-01-11 23:59:19 -08:00
outfoxxed
2c411fce5a
all: fix new lints
2025-01-07 03:11:19 -08:00
outfoxxed
2571766d3b
all: fix clang 18 lints
2024-11-24 03:36:04 -08:00
outfoxxed
afa1b6f88b
wayland/layershell: link to xdg-shell protocol codegen
2024-11-22 18:57:11 -08:00
outfoxxed
7ffce72b31
all: optimize build
2024-11-05 04:15:17 -08:00
outfoxxed
1168879d6d
build: only install necessary qml module files
2024-11-04 14:13:37 -08:00
outfoxxed
a931adf033
all: add DEPENDENCIES entries to qml modules
...
Fixes some qmlls/qmllint issues.
2024-10-31 14:05:02 -07:00
outfoxxed
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
outfoxxed
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
outfoxxed
a9e4720fae
docs: use new member reference shorthand
2024-07-21 17:41:49 -07:00
outfoxxed
e9cacbd92d
all: use type/prop shorthand in docs
2024-07-14 16:17:51 -07:00
outfoxxed
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
outfoxxed
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
outfoxxed
6c9526761c
wayland: fix UAF in layershell surface destructor
2024-05-31 00:24:58 -07:00
outfoxxed
fd5b73adbb
wayland: fix Qt 6.7 compatibility
2024-04-12 01:21:26 -07:00
outfoxxed
9625129844
core: replace throws with qFatal
2024-03-27 02:13:47 -07:00
outfoxxed
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
outfoxxed
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
outfoxxed
c44041653c
build: greatly speed up build times using pch
2024-03-11 18:18:55 -07:00
outfoxxed
3480707e99
wayland: namespace type names a bit to prevent future conflicts
2024-03-11 06:21:23 -07:00
outfoxxed
7a15495e3f
layershell: fix protocol error on popup attachment
2024-03-10 03:02:40 -07:00
outfoxxed
5ac04649aa
fix: ub/crash when changing layershell props after hiding window
2024-03-04 17:54:33 -08:00
outfoxxed
63180382be
misc: change version to 0.1
2024-03-04 05:37:24 -08:00
outfoxxed
d06b67107b
docs(layer): improve WlrLayershell documentation
2024-02-29 00:54:18 -08:00
outfoxxed
cbdfba1a3f
chore: clean up lints
2024-02-28 21:30:06 -08:00
outfoxxed
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
outfoxxed
cfd9a27619
refactor: move wlr_layershell to its own subdirectory
2024-02-26 03:13:55 -08:00