aboutsummaryrefslogtreecommitdiff
path: root/swaybg/main.c
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-04-22 17:13:52 +1200
committerScott Anderson <scott@anderso.nz>2018-04-22 17:25:15 +1200
commit4dfbc3160c937b4fcee2b27d78d7e46a48cd68e9 (patch)
treeb4444f49bb92cc257d529dae692958873c9736b0 /swaybg/main.c
parent72149111a5743febf4c538220478eb0f1d696ed0 (diff)
Fix swaybar axis event logic
Uses 'visible' instead of 'focused', since we may scroll on a bar which isn't the focused output. We can't use "next_on_output" or "prev_on_output" to implement this, because it only modify the focused output. So scrolling on an unfocused output will affect the incorrect one. We just use the "workspace name" command instead.
Diffstat (limited to 'swaybg/main.c')
0 files changed, 0 insertions, 0 deletions