https://github.com/swaywm/sway.git
Revision e5954f321f76c9337efaf9c5f66140bfba2bae77 authored by Nick Diego Yamane on 06 July 2020, 21:17:04 UTC, committed by Simon Ser on 06 July 2020, 22:05:35 UTC
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>
1 parent bac9559
Tip revision: e5954f321f76c9337efaf9c5f66140bfba2bae77 authored by Nick Diego Yamane on 06 July 2020, 21:17:04 UTC
seat/dnd: support null drag icon surfaces
seat/dnd: support null drag icon surfaces
Tip revision: e5954f3
File | Mode | Size |
---|---|---|
.builds | ||
.github | ||
assets | ||
client | ||
common | ||
completions | ||
contrib | ||
include | ||
protocols | ||
sway | ||
swaybar | ||
swaymsg | ||
swaynag | ||
.clang-format | -rw-r--r-- | 405 bytes |
.editorconfig | -rw-r--r-- | 315 bytes |
.gitignore | -rw-r--r-- | 137 bytes |
CONTRIBUTING.md | -rw-r--r-- | 7.9 KB |
LICENSE | -rw-r--r-- | 1.0 KB |
README.de.md | -rw-r--r-- | 2.4 KB |
README.dk.md | -rw-r--r-- | 2.2 KB |
README.es.md | -rw-r--r-- | 2.2 KB |
README.fr.md | -rw-r--r-- | 2.4 KB |
README.ja.md | -rw-r--r-- | 3.1 KB |
README.ko.md | -rw-r--r-- | 2.3 KB |
README.md | -rw-r--r-- | 3.1 KB |
README.nl.md | -rw-r--r-- | 2.2 KB |
README.pl.md | -rw-r--r-- | 2.2 KB |
README.pt.md | -rw-r--r-- | 2.3 KB |
README.ro.md | -rw-r--r-- | 2.4 KB |
README.ru.md | -rw-r--r-- | 3.1 KB |
README.uk.md | -rw-r--r-- | 3.8 KB |
README.zh-CN.md | -rw-r--r-- | 1.8 KB |
README.zh-TW.md | -rw-r--r-- | 2.0 KB |
config.in | -rw-r--r-- | 6.7 KB |
meson.build | -rw-r--r-- | 8.3 KB |
meson_options.txt | -rw-r--r-- | 832 bytes |
sway.desktop | -rw-r--r-- | 97 bytes |
Computing file changes ...