aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar')
-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;