wlroots-hyprland/types/scene
Johan Malm 8e80432a72 scene/layer_shell_v1.c: set exclusive zone correctly
...when only one edge is anchored.

The layer-shell protocol specifies that a positive exclusive-zone value is
'meaningful' if the surface is anchored to either:

1. one edge
2. one edge and both perpendicular edges.

For example, if you wish to position a layer-shell client along the top
edge and make it exclusive, you should be able to either set anchor=TOP or
anchor=TOP|LEFT|RIGHT. It appears that many panels/bars use the latter
approach (anchor to an edge and also both perpendicular edges) which is
probably why this has not been reported previously.

This patch adds support for the first case and thereby makes exclusive
zone behaviour consistent with the protocol and also with sway's extant
layer-shell implementation.
2022-11-29 18:01:57 +00:00
..
drag_icon.c compositor: drop wlr_surface.{sx,sy} 2022-11-15 13:41:09 +00:00
layer_shell_v1.c scene/layer_shell_v1.c: set exclusive zone correctly 2022-11-29 18:01:57 +00:00
output_layout.c scene/output_layout: Fix crash in scene_output_layout_output_destroy 2022-06-07 20:58:41 +02:00
subsurface_tree.c wlr_scene: Only allow parenting on a wlr_scene_tree 2022-05-31 09:14:28 +00:00
surface.c wlr_scene: Fix texture reuse 2022-11-11 00:08:04 +00:00
wlr_scene.c wlr_scene: Expand damage cull region with fractional scales 2022-11-29 07:43:39 +00:00
xdg_shell.c wlr_scene: Only allow parenting on a wlr_scene_tree 2022-05-31 09:14:28 +00:00