sway-patched-tray-menu/swaybar
Joan Bruguera 53f9dbd424 swaybar: Prioritize hotspot events to bar bindings
This is consistent with i3bar's behaviour, and for example, allows binding a
command to button1, while still being able to click on tray icons or other
zones on the bar's status line which may have their own bindings.

E.g., in Sway, without this commit, this config. makes tray icons unclickable:

    bar {
        # ...
        bindsym button1 exec swaynag -m You_clicked_the_tray._Want_some_help?
    }

But the same configuration in i3 (with i3-nagbar) keeps tray items clickable.

Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
2022-11-26 10:17:53 +01:00
..
tray tray: do not render passive items 2022-01-19 09:20:27 +01:00
bar.c swaybar: remove swaybar_output.input_region 2022-03-14 13:01:29 -04:00
config.c Reuse parsed PangoFontDescription 2022-07-01 13:05:58 +02:00
i3bar.c swaybar: properly draw blocks with transparent black border 2021-09-20 09:53:32 +02:00
input.c swaybar: Prioritize hotspot events to bar bindings 2022-11-26 10:17:53 +01:00
ipc.c Reuse parsed PangoFontDescription 2022-07-01 13:05:58 +02:00
main.c Make command line option lists const 2021-02-04 09:49:06 +01:00
meson.build build: drop intermediate libraries for protocols 2022-11-25 10:51:20 +01:00
render.c Reuse parsed PangoFontDescription 2022-07-01 13:05:58 +02:00
status_line.c swaybar: fix errno handling in status_handle_readable 2021-12-21 12:12:54 +01:00
swaybar-protocol.7.scd man: update maintainer 2021-01-08 09:33:51 +01:00