mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-05 20:26:09 +01:00
cosmetic
This commit is contained in:
parent
0abb100adf
commit
30256b3be3
2 changed files with 5 additions and 5 deletions
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,10 +160,8 @@ void
|
|||
statusbar_display(Statusbar *statusbar)
|
||||
{
|
||||
/* don't waste our time */
|
||||
if(statusbar->position == Off)
|
||||
return;
|
||||
|
||||
simplewindow_refresh_drawable(statusbar->sw, get_phys_screen(statusbar->screen));
|
||||
if(statusbar->position != Off)
|
||||
simplewindow_refresh_drawable(statusbar->sw, get_phys_screen(statusbar->screen));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue