aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/protocols/LayerShell.hpp
diff options
context:
space:
mode:
authorIkalco <[email protected]>2024-07-23 13:03:15 -0500
committerGitHub <[email protected]>2024-07-23 20:03:15 +0200
commita5f58a31268da95e36c0918ac75589c05e81b892 (patch)
tree48b655269d5a487ee51dd8d5df1724a4577609b9 /src/protocols/LayerShell.hpp
parent077494ee85c8fa4c6ae74ad8d749feea826294d2 (diff)
downloadHyprland-a5f58a31268da95e36c0918ac75589c05e81b892.tar.gz
Hyprland-a5f58a31268da95e36c0918ac75589c05e81b892.zip
layer-shell: validate exclusiveEdge and don't set it as top by default (#7006)
* validate exclusiveEdge and don't set it as top by default * make sure exclusive edge anchor is within bounds
Diffstat (limited to 'src/protocols/LayerShell.hpp')
-rw-r--r--src/protocols/LayerShell.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/LayerShell.hpp b/src/protocols/LayerShell.hpp
index 6d29248a..221d95c0 100644
--- a/src/protocols/LayerShell.hpp
+++ b/src/protocols/LayerShell.hpp
@@ -47,7 +47,7 @@ class CLayerShellResource : public ISurfaceRole {
Vector2D desiredSize;
zwlrLayerSurfaceV1KeyboardInteractivity interactivity = ZWLR_LAYER_SURFACE_V1_KEYBOARD_INTERACTIVITY_NONE;
zwlrLayerShellV1Layer layer = ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM;
- zwlrLayerSurfaceV1Anchor exclusiveEdge = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP;
+ zwlrLayerSurfaceV1Anchor exclusiveEdge = (zwlrLayerSurfaceV1Anchor)0;
uint32_t committed = 0;
struct {