layer-shell-qt/src
Aleix Pol 805f893cfb Ensure we can set per-window properties before the intial commit
In the current implementation we cannot use a LayerShellQt before the
shell surface is created.

At the moment a shell surface is created, the constructor is run and
then QtWayland commits the current state. This means the compositor
configures the window before a client has any chance to set anchors or
margins.

This works whilst we're just being a simple fullscreen window, but won't
scale for plasmashell in the future.

This patch makes LayerShellQt::Window always creatable, and we can set
and cache properties before the platform window is created, just like
one can on QWindow and XDGShell properties.

This also makes it less potentially crashy as ::get always returns a
valid result, and
sets up the public API to be QML-able as an attached property in future.
2021-04-14 23:45:44 +01:00
..
interfaces Ensure we can set per-window properties before the intial commit 2021-04-14 23:45:44 +01:00
CMakeLists.txt Use unversioned Qt targets 2021-04-06 13:54:43 +02:00
layer-shell.json Initial commit 2021-04-01 02:28:01 +02:00
layer-shell.json.license SPDX, use .license on files where it's awkward to get it inside 2021-04-06 14:32:51 +02:00
qwaylandlayershell_p.h Address code formatting 2021-04-06 13:39:27 +02:00
qwaylandlayershell.cpp Properly guard zwlr_layer_shell_v1 destructor request 2021-04-09 12:49:49 +00:00
qwaylandlayershellintegration_p.h Remove Q_NULLPTR usage 2021-04-07 16:05:02 +00:00
qwaylandlayershellintegration.cpp Fix layer-shell version selection logic 2021-04-08 09:26:16 +03:00
qwaylandlayershellintegrationplugin.cpp Address code formatting 2021-04-06 13:39:27 +02:00
qwaylandlayersurface_p.h Expose set_layer 2021-04-09 12:49:49 +00:00
qwaylandlayersurface.cpp Ensure we can set per-window properties before the intial commit 2021-04-14 23:45:44 +01:00
wlr-layer-shell-unstable-v1.xml Expose set_layer 2021-04-09 12:49:49 +00:00
wlr-layer-shell-unstable-v1.xml.license Add wlr-layer-shell-unstable-v1.xml protocol file's licence 2021-04-08 18:26:32 +02:00