Eric Engestrom
021933f735
use standard ARRAY_SIZE() macro
...
Replace all the custom `sizeof(array)/sizeof(element)` and
`sizeof(array)/sizeof(type)` with the standard macro ARRAY_SIZE().
2018-07-30 15:21:29 +01:00
minus
bfcfabee2b
swaybar: Fix scroll handling on workspace buttons
...
As well as ignoring scroll events on status elements when click_events
is enabled.
Previously, using the scroll wheel on a workspace button would switch to
that workspace instead of scrolling through them. Clicks and scrolling
on status elements would always be processed by swaybar, too. So in case
you were using scrolling as volume control on a status item, swaybar
would additionally scroll through your workspaces.
2018-07-19 21:15:01 +02:00
Peter Rice
e43c20134a
remove unnecessary parens
2018-07-17 19:04:04 -04:00
Peter Rice
79a998849b
make hotspot callback take an x11 button id
2018-07-16 18:55:04 -04:00
emersion
63b4bf5000
Update for swaywm/wlroots#1126
2018-07-09 22:54:30 +01:00
emersion
aa36899d8a
Fix a bunch of swaybar memory leaks
2018-04-24 22:28:55 +01:00
Bruno Pinto
9bc4565a59
Fix memory leak on swaybar
...
Code from @NilsBrause
Ref #1820
2018-04-20 01:58:30 +01:00
Drew DeVault
ac3be29517
Fix some more bugs
2018-04-09 08:07:54 -04:00
Ryan Dwyer
bac65078a2
Fix buffer issues in swaybar status line.
2018-04-09 17:25:39 +10:00
Drew DeVault
f366ef373e
Fix #1709
2018-04-03 11:17:34 -04:00
Drew DeVault
c507727ad2
Fix use-after-free with block hotspots
2018-04-02 11:53:56 -04:00
Drew DeVault
0cbd2a4f49
Send click events for i3bar blocks
2018-04-02 11:09:23 -04:00
Drew DeVault
333dbcbe72
Render i3bar blocks
2018-04-02 11:09:23 -04:00
Drew DeVault
ee85c91831
Demarcate i3bar JSON into individual updates
2018-04-02 11:09:23 -04:00