cosmetic
This commit is contained in:
parent
0abb100adf
commit
30256b3be3
4
event.c
4
event.c
|
@ -96,7 +96,7 @@ handle_event_buttonpress(XEvent *e)
|
|||
return;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
case Left:
|
||||
for(widget = statusbar->widgets; widget; widget = widget->next)
|
||||
if(statusbar->sw->geometry.width - ev->y >= widget->area.x
|
||||
&& statusbar->sw->geometry.width - ev->y
|
||||
|
@ -107,6 +107,8 @@ handle_event_buttonpress(XEvent *e)
|
|||
return;
|
||||
}
|
||||
break;
|
||||
case Off:
|
||||
break;
|
||||
}
|
||||
|
||||
if((c = get_client_bywin(globalconf.clients, ev->window)))
|
||||
|
|
|
@ -160,9 +160,7 @@ void
|
|||
statusbar_display(Statusbar *statusbar)
|
||||
{
|
||||
/* don't waste our time */
|
||||
if(statusbar->position == Off)
|
||||
return;
|
||||
|
||||
if(statusbar->position != Off)
|
||||
simplewindow_refresh_drawable(statusbar->sw, get_phys_screen(statusbar->screen));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue