swayfx/sway/input
Nick Diego Yamane e5954f321f 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>
2020-07-07 00:05:35 +02:00
..
cursor.c input/pointer: don't trigger pointer bindings for emulated input 2020-06-18 22:35:01 +02:00
input-manager.c Replace unprintable characters in input device id 2020-07-03 14:59:20 +02:00
keyboard.c input/keyboard: wlr_keyboard_group enter and leave 2020-06-16 17:53:23 +02:00
libinput.c input: disable events for map_to_output devices when output not present 2020-06-19 10:02:22 +02:00
seat.c seat/dnd: support null drag icon surfaces 2020-07-07 00:05:35 +02:00
seatop_default.c input/pointer: correctly handle bindings for synthetic events 2020-06-25 21:32:15 +02:00
seatop_down.c input/cursor: refactor tablet tool tip events into seatops 2020-06-04 10:20:32 +02:00
seatop_move_floating.c input/tablet: allow moving floating tablet v2 surfaces by pen input 2020-06-07 10:46:14 +02:00
seatop_move_tiling.c input/tablet: allow moving tiling tablet v2 surfaces by pen input 2020-06-07 10:46:14 +02:00
seatop_resize_floating.c Use new wlroots API for clearing keyboard/pointer focus during grabs 2020-06-05 17:24:23 +02:00
seatop_resize_tiling.c Use new wlroots API for clearing keyboard/pointer focus during grabs 2020-06-05 17:24:23 +02:00
switch.c Fix a use-after-free error in switch binding 2020-04-14 19:41:30 -04:00
tablet.c input/tablet: query tablet focused surface for cursor image check 2020-04-26 09:14:54 +02:00
text_input.c im: Fix crash when im destorying and no focused surface exists 2020-04-04 11:42:04 +02:00