sway/include
Joan Bruguera 94b69acf0d swaybar: Make hotspots block bar release bindings
The previous commit prioritized hotspots before bar bindings for press events,
which matches i3's behaviour. However, since hotspots don't need to do any
processing on release events, those were not handled, and simply fell through
to `bindsym --release` bar bindings (if any).

This is counter-intuitive, and doesn't match i3's behaviour. Instead in case
a hotspot handles the press event, it should also handle the release event,
doing nothing, but blocking the event from triggering a --release bar binding.

E.g., in Sway, without this commit, this config. shows a text on tray clicks:

    bar {
        # ...
        bindsym --release button1 exec swaynag -m I_got_the_release_event.
    }

But the same configuration in i3 (with i3-nagbar) doesn't show the text.

Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
2022-11-26 10:17:53 +01:00
..
sway launcher: export X startup ids and use them for workspace matching 2022-11-26 09:48:58 +01:00
swaybar swaybar: Make hotspots block bar release bindings 2022-11-26 10:17:53 +01:00
swaynag Reuse parsed PangoFontDescription 2022-07-01 13:05:58 +02:00
background-image.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
cairo_util.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
gesture.h sway: add bindgesture command 2022-05-30 12:20:43 +02:00
ipc-client.h refactor: use JSON_MAX_DEPTH everywhere 2021-10-25 10:18:40 +02:00
ipc.h
list.h
log.h
loop.h
meson.build Address review comments 2018-03-28 14:43:23 -04:00
pango.h Reuse parsed PangoFontDescription 2022-07-01 13:05:58 +02:00
pool-buffer.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
stringop.h sway: add bindgesture command 2022-05-30 12:20:43 +02:00
util.h input: Move get_current_time_msec in from util 2021-06-23 09:55:36 +02:00