aboutsummaryrefslogtreecommitdiff
path: root/swaybar/i3bar.c
diff options
context:
space:
mode:
authorJoan Bruguera <joanbrugueram@gmail.com>2021-09-04 06:44:56 +0200
committerSimon Ser <contact@emersion.fr>2022-11-26 10:17:53 +0100
commit53f9dbd424dc173a85c9f4cd30802259d38b1ef4 (patch)
tree0baecedccd66f3721a57f876e625d1ac182cdbda /swaybar/i3bar.c
parent28fda4c0d38907fab94dc7d82c9dcf0754748b4e (diff)
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>
Diffstat (limited to 'swaybar/i3bar.c')
0 files changed, 0 insertions, 0 deletions