wlroots/types
Johan Malm 4892082836 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.

(cherry picked from commit 8e80432a72)
2022-11-29 21:14:41 +03:00
..
buffer wlr_scene: Fix texture reuse 2022-11-11 00:08:04 +00:00
data_device wlr_seat: clear drag->seat_client when destroyed 2022-11-16 18:06:01 +01:00
output output: try to use fixed mode in wlr_output_set_custom_mode() 2022-10-20 09:49:16 +02:00
scene scene/layer_shell_v1.c: set exclusive zone correctly 2022-11-29 21:14:41 +03:00
seat seat/pointer: Initialize low_res_value 2022-11-24 22:05:44 +00:00
tablet_v2 tablet-v2: fix event parameters 2022-10-07 20:19:41 +03:00
xdg_shell compositor: drop role object NULL checks in handlers 2022-11-06 17:00:00 +03:00
meson.build idle-notify-v1: new protocol implementation 2022-10-14 13:36:15 +00:00
wlr_compositor.c compositor: use the correct input region 2022-11-07 21:06:12 +00:00
wlr_cursor.c cursor: Don't warp to (0,0) when last output is disconnected 2022-09-21 14:25:09 -04:00
wlr_damage_ring.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_data_control_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_drm.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_drm_lease_v1.c drm-lease-v1: reject the lease request by default 2022-10-07 19:49:28 +00:00
wlr_export_dmabuf_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_foreign_toplevel_management_v1.c foreign-toplevel-management: fix indentation 2022-10-01 19:57:32 +00:00
wlr_fullscreen_shell_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_gamma_control_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_idle.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_idle_inhibit_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_idle_notify_v1.c idle-notify-v1: new protocol implementation 2022-10-14 13:36:15 +00:00
wlr_input_device.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_input_inhibitor.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_input_method_v2.c compositor: drop role object NULL checks in handlers 2022-11-06 17:00:00 +03:00
wlr_keyboard.c util/array: unclutter 2022-08-29 13:48:42 +00:00
wlr_keyboard_group.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_keyboard_shortcuts_inhibit_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_layer_shell_v1.c compositor: drop role object NULL checks in handlers 2022-11-06 17:00:00 +03:00
wlr_linux_dmabuf_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_matrix.c matrix: remove wlr_matrix_projection() 2022-06-08 19:27:36 +00:00
wlr_output_damage.c output-damage: drop precommit listener 2022-10-07 17:43:50 +03:00
wlr_output_layout.c output-layout: improve wlr_output_layout_output_in_direction() 2022-08-30 19:26:23 +03:00
wlr_output_management_v1.c wlr-output-management: implement adaptive sync 2022-10-24 16:19:25 +00:00
wlr_output_power_management_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_pointer.c wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_pointer_constraints_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_pointer_gestures_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_presentation_time.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_primary_selection.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_primary_selection_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_region.c region: stabilize interface 2021-07-05 09:25:25 -04:00
wlr_relative_pointer_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_screencopy_v1.c render: drop wlr_renderer_read_pixels() flags 2022-10-04 09:15:19 +02:00
wlr_server_decoration.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_session_lock_v1.c compositor: drop role object NULL checks in handlers 2022-11-06 17:00:00 +03:00
wlr_single_pixel_buffer_v1.c single-pixel-buffer-v1: new protocol implementation 2022-08-03 10:35:23 +00:00
wlr_subcompositor.c compositor: drop role object NULL checks in handlers 2022-11-06 17:00:00 +03:00
wlr_switch.c wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_tablet_pad.c wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_tablet_tool.c wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_text_input_v3.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_touch.c wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_viewporter.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_virtual_keyboard_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_virtual_pointer_v1.c wlr_virtual_pointer_v1: fix discrete scrolling 2022-09-08 05:33:28 +02:00
wlr_xcursor_manager.c Make wlr_xcursor_manager_load() return a bool 2020-05-18 16:48:44 +02:00
wlr_xdg_activation_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_xdg_decoration_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_xdg_foreign_registry.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_xdg_foreign_v1.c xdg-toplevel: send invalid_parent error 2022-10-14 10:57:49 +00:00
wlr_xdg_foreign_v2.c xdg-toplevel: send invalid_parent error 2022-10-14 10:57:49 +00:00
wlr_xdg_output_v1.c types/wlr_xdg_output_v1: Fix wl_output.done bug. 2022-08-19 14:22:23 +00:00