wlroots-hyprland/types
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
..
buffer wl-drm: use resource interface 2022-11-17 19:55:19 +00:00
data_device wlr_seat: clear drag->seat_client when destroyed 2022-11-16 01:56:18 +00:00
output output: drop wlr_output_damage_whole() 2022-11-17 09:17:32 +00:00
scene scene/layer_shell_v1.c: set exclusive zone correctly 2022-11-29 18:01:57 +00:00
seat seat/pointer: Initialize low_res_value 2022-11-24 22:37:52 +01:00
tablet_v2 tablet-v2: fix event parameters 2022-10-07 20:19:41 +03:00
xdg_shell xdg-shell: send invalid_size errors 2022-11-17 10:03:52 +00:00
meson.build buffer: drop wlr_shm_client_buffer 2022-11-15 16:30:00 +00:00
wlr_compositor.c compositor: make renderer optional 2022-11-24 21:55:24 +00:00
wlr_content_type_v1.c content-type-v1: add version param to wlr_content_type_manager_v1_create() 2022-11-15 16:43:04 +01: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 damage-ring: constify wlr_damage_ring_add() 2022-11-11 23:11:17 +00:00
wlr_data_control_v1.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wlr_drm.c wl-drm: use resource interface 2022-11-17 19:55:19 +00: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 layer-shell-v1: specify version in constructor 2022-11-14 09:52:13 +01:00
wlr_linux_dmabuf_v1.c linux-dmabuf-v1: use resource interface 2022-11-17 19:55:19 +00:00
wlr_matrix.c matrix: remove wlr_matrix_projection() 2022-06-08 19:27:36 +00:00
wlr_output_damage.c output-damage: constify wlr_output_damage_add() 2022-11-11 23:11:17 +00: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 region: constify 2022-11-11 23:11:17 +00: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: constify 2022-11-11 23:11:17 +00: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_shm.c shm: add create() function without a wlr_renderer 2022-11-25 15:16:42 +00: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