diff options
author | Joan Bruguera <joanbrugueram@gmail.com> | 2021-09-04 06:44:56 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-26 10:29:59 +0100 |
commit | b92af7e3cadab5723b50687a56d6da1f9b8605b4 (patch) | |
tree | 80671f51c3e727bca0c12a3d2cbaf828c1fa9f30 /swaybar/tray | |
parent | launcher: export X startup ids and use them for workspace matching (diff) | |
download | sway-b92af7e3cadab5723b50687a56d6da1f9b8605b4.tar.gz sway-b92af7e3cadab5723b50687a56d6da1f9b8605b4.tar.zst sway-b92af7e3cadab5723b50687a56d6da1f9b8605b4.zip |
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>
(cherry picked from commit 53f9dbd424dc173a85c9f4cd30802259d38b1ef4)
Diffstat (limited to 'swaybar/tray')
0 files changed, 0 insertions, 0 deletions