diff --git a/swaybar/status_line.c b/swaybar/status_line.c index 7da311ac..e0564c26 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c @@ -492,8 +492,8 @@ bool handle_status_line(struct bar *bar) { json_object *click_events; if (json_object_object_get_ex(proto, "click_events", &click_events) - && json_object_get_boolean(click_events) == true - ) { + && json_object_get_boolean(click_events)) { + sway_log(L_DEBUG, "Enabling click events."); bar->status->click_events = true;