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;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
case Left:
|
||||||
for(widget = statusbar->widgets; widget; widget = widget->next)
|
for(widget = statusbar->widgets; widget; widget = widget->next)
|
||||||
if(statusbar->sw->geometry.width - ev->y >= widget->area.x
|
if(statusbar->sw->geometry.width - ev->y >= widget->area.x
|
||||||
&& statusbar->sw->geometry.width - ev->y
|
&& statusbar->sw->geometry.width - ev->y
|
||||||
|
@ -107,6 +107,8 @@ handle_event_buttonpress(XEvent *e)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case Off:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if((c = get_client_bywin(globalconf.clients, ev->window)))
|
if((c = get_client_bywin(globalconf.clients, ev->window)))
|
||||||
|
|
|
@ -160,10 +160,8 @@ void
|
||||||
statusbar_display(Statusbar *statusbar)
|
statusbar_display(Statusbar *statusbar)
|
||||||
{
|
{
|
||||||
/* don't waste our time */
|
/* don't waste our time */
|
||||||
if(statusbar->position == Off)
|
if(statusbar->position != Off)
|
||||||
return;
|
simplewindow_refresh_drawable(statusbar->sw, get_phys_screen(statusbar->screen));
|
||||||
|
|
||||||
simplewindow_refresh_drawable(statusbar->sw, get_phys_screen(statusbar->screen));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue