mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-30 03:50:12 +01:00
xdg-shell: document resize with "none" edges
Current compositor behavior here is not terribly consistent: Both Weston and Mutter ignore resize requests with "none" edges. wlroots currently kills the client with a protocol error but allowed compositors using the wlroots library to decide what to do in the past before this behavior was accidentally changed. Sending a protocol here is a wlroots bug in my opinion since the none enum variant exists and the invalid_resize_edge protocol error is only specified to be sent for values that do not match an enum variant. KWin seems to treat a resize with "none" edges the same as a move request, which is quite strange. I would consider this a bug as well. This patch recommends that compositors ignore resize requests with "none" edges in the interest of increasing client portability. Signed-off-by: Isaac Freund <mail@isaacfreund.com>
This commit is contained in:
parent
24e612f7d7
commit
52a4aa6fb5
1 changed files with 2 additions and 1 deletions
|
|
@ -818,7 +818,8 @@
|
|||
The compositor may use this information to update the surface position
|
||||
for example when dragging the top left corner. The compositor may also
|
||||
use this information to adapt its behavior, e.g. choose an appropriate
|
||||
cursor image.
|
||||
cursor image. A value of none must not cause a protocol error but should
|
||||
be ignored by the compositor.
|
||||
</description>
|
||||
<arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/>
|
||||
<arg name="serial" type="uint" summary="the serial of the user event"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue