diff options
Diffstat (limited to 'swaybar/status_line.c')
-rw-r--r-- | swaybar/status_line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c index f3bb3013..7da311ac 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c | |||
@@ -492,7 +492,7 @@ bool handle_status_line(struct bar *bar) { | |||
492 | 492 | ||
493 | json_object *click_events; | 493 | json_object *click_events; |
494 | if (json_object_object_get_ex(proto, "click_events", &click_events) | 494 | if (json_object_object_get_ex(proto, "click_events", &click_events) |
495 | && json_object_get_boolean(click_events) | 495 | && json_object_get_boolean(click_events) == true |
496 | ) { | 496 | ) { |
497 | sway_log(L_DEBUG, "Enabling click events."); | 497 | sway_log(L_DEBUG, "Enabling click events."); |
498 | bar->status->click_events = true; | 498 | bar->status->click_events = true; |