aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/status_line.c4
1 files changed, 2 insertions, 2 deletions
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;