styling fixes

This commit is contained in:
akokshar@redhat.com 2017-08-29 17:33:06 +02:00
parent d873d09f23
commit 39df3aed82
3 changed files with 12 additions and 12 deletions

View file

@ -94,8 +94,8 @@ static void render_block(struct window *window, struct config *config, struct st
double pos = *x;
block->x = (int) pos;
block->width = (int) block_width;
block->x = (int)pos;
block->width = (int)block_width;
// render background
if (block->background != 0x0) {

View file

@ -492,7 +492,7 @@ 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)
&& json_object_get_boolean(click_events) == true
) {
sway_log(L_DEBUG, "Enabling click events.");
bar->status->click_events = true;