sway-patched-tray-menu-github/swaybar/tray
Hristo Venev 7affe5c1bd swaybar: fix i3bar relative coordinates when scaling is used
24e8ba048a did not take scaling into account.
The hotspot size used pixel coordinates, the absolute coordinates were logical,
and the relative coordinates were completely wrong.

This commit makes all coordinates use logical values. If
`"float_event_coords":true` is sent in the handshake message, coordinates are
sent as floating-point values.

The "scale" field is an integer containing the scale value.
2020-02-10 18:58:09 +01:00
..
host.c tray: use correct parameter to set bus slot to floating 2019-02-15 15:15:45 +00:00
icon.c Avoid calling strcmp on nullptr 2020-02-10 13:29:07 +01:00
item.c swaybar: fix i3bar relative coordinates when scaling is used 2020-02-10 18:58:09 +01:00
tray.c swaybar: do not retry search for tray icons 2019-10-21 17:22:25 +02:00
watcher.c tray: fix memory leaks 2019-02-16 21:49:16 +01:00