styling fixes

This commit is contained in:
akokshar@redhat.com 2017-08-30 08:16:17 +02:00
parent 39df3aed82
commit 2b927685ca

View file

@ -492,8 +492,8 @@ bool handle_status_line(struct bar *bar) {
json_object *click_events; json_object *click_events;
if (json_object_object_get_ex(proto, "click_events", &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."); sway_log(L_DEBUG, "Enabling click events.");
bar->status->click_events = true; bar->status->click_events = true;