https://github.com/swaywm/sway.git
Revision 9bfb38521a6016042dffbe7e3242265b8134bda5 authored by Ryan Dwyer on 06 March 2019, 08:54:41 UTC, committed by Drew DeVault on 11 March 2019, 14:57:16 UTC
It turns out sending button events during all seat operations is not desirable. This patch introduces a new property `seatop_impl.allows_events` which allows each operation to define whether button events should be passed to the surface or not. The `down` seat operation is the only one that supports this. As all the other seatops don't support it, the calls to seat_pointer_notify_button prior to starting them have been removed.
1 parent ab1b1da
Tip revision: 9bfb38521a6016042dffbe7e3242265b8134bda5 authored by Ryan Dwyer on 06 March 2019, 08:54:41 UTC
Don't send button events to surfaces when dragging or resizing
Don't send button events to surfaces when dragging or resizing
Tip revision: 9bfb385
File | Mode | Size |
---|---|---|
assets | ||
client | ||
common | ||
completions | ||
contrib | ||
include | ||
protocols | ||
security.d | ||
sway | ||
swaybar | ||
swaybg | ||
swaymsg | ||
swaynag | ||
.build.yml | -rw-r--r-- | 533 bytes |
.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 |
ISSUE_TEMPLATE.md | -rw-r--r-- | 1.5 KB |
LICENSE | -rw-r--r-- | 1.0 KB |
README.bg.md | -rw-r--r-- | 3.3 KB |
README.de.md | -rw-r--r-- | 2.7 KB |
README.el.md | -rw-r--r-- | 5.0 KB |
README.fr.md | -rw-r--r-- | 2.9 KB |
README.it.md | -rw-r--r-- | 2.5 KB |
README.ja.md | -rw-r--r-- | 3.1 KB |
README.md | -rw-r--r-- | 2.7 KB |
README.pt.md | -rw-r--r-- | 3.2 KB |
README.ru.md | -rw-r--r-- | 4.0 KB |
README.uk.md | -rw-r--r-- | 4.4 KB |
config.in | -rw-r--r-- | 6.6 KB |
meson.build | -rw-r--r-- | 7.3 KB |
meson_options.txt | -rw-r--r-- | 832 bytes |
sway.desktop | -rw-r--r-- | 97 bytes |
Computing file changes ...