diff options
author | Nick Diego Yamane <nickdiego@igalia.com> | 2020-07-06 17:17:04 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-07-07 00:05:35 +0200 |
commit | e5954f321f76c9337efaf9c5f66140bfba2bae77 (patch) | |
tree | d3ad2b6b85e942079a3b5407ca7085bcba9866fc /assets/LICENSE | |
parent | bac9559665bc908e4f61a6405a6ce5109956f4a3 (diff) |
seat/dnd: support null drag icon surfaces
As per the Wayland spec [1]:
> The icon surface is an optional (can be NULL) surface that provides an
> icon to be moved around with the cursor.
However, as of now Sway "start_drag" signal handler does not starts the
DND session unless a non-NULL drag icons is provided. This patch fixes
it by skipping handling of the drag icon if it is null.
Fixes #5509
[1] https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_data_device
Signed-off-by: Nick Diego Yamane <nickdiego@igalia.com>
Diffstat (limited to 'assets/LICENSE')
0 files changed, 0 insertions, 0 deletions