diff options
author | akokshar@redhat.com <akokshar@redhat.com> | 2017-08-29 17:33:06 +0200 |
---|---|---|
committer | akokshar@redhat.com <akokshar@redhat.com> | 2017-08-29 17:33:06 +0200 |
commit | 39df3aed821d32644780df2875390a259941e353 (patch) | |
tree | 00318aed922c41f114f9b1ae39bcf167929c3bed /swaybar/status_line.c | |
parent | style fixes (diff) | |
download | sway-39df3aed821d32644780df2875390a259941e353.tar.gz sway-39df3aed821d32644780df2875390a259941e353.tar.zst sway-39df3aed821d32644780df2875390a259941e353.zip |
styling fixes
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; |