aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/status_line.c
diff options
context:
space:
mode:
authorLibravatar akokshar@redhat.com <akokshar@redhat.com>2017-08-29 15:55:30 +0200
committerLibravatar akokshar@redhat.com <akokshar@redhat.com>2017-08-29 15:55:30 +0200
commitd873d09f23180414fc0475b3893570a514efb0e0 (patch)
treeeb1f5fb4740a578ae999ec01bba1732419eabe8b /swaybar/status_line.c
parentclick_events as documented at https://i3wm.org/docs/i3bar-protocol.html (diff)
downloadsway-d873d09f23180414fc0475b3893570a514efb0e0.tar.gz
sway-d873d09f23180414fc0475b3893570a514efb0e0.tar.zst
sway-d873d09f23180414fc0475b3893570a514efb0e0.zip
style fixes
Diffstat (limited to 'swaybar/status_line.c')
-rw-r--r--swaybar/status_line.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c
index f0888273..f3bb3013 100644
--- a/swaybar/status_line.c
+++ b/swaybar/status_line.c
@@ -410,8 +410,7 @@ bool status_line_mouse_event(struct bar *bar, int x, int y, uint32_t button) {
410 410
411 if (num_blocks == 0) { 411 if (num_blocks == 0) {
412 return false; 412 return false;
413 } 413 } else {
414 else {
415 current_block = bar->status->block_line->items[0]; 414 current_block = bar->status->block_line->items[0];
416 if (x < current_block->x) { 415 if (x < current_block->x) {
417 return false; 416 return false;