don't draw statusbar if it's off
This commit is contained in:
parent
dcdbd06e56
commit
19e7737ef0
|
@ -53,6 +53,10 @@ drawstatusbar(awesome_config *awesomeconf)
|
||||||
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
||||||
Drawable drawable;
|
Drawable drawable;
|
||||||
|
|
||||||
|
/* don't waste our time */
|
||||||
|
if(awesomeconf->statusbar.position == BarOff)
|
||||||
|
return;
|
||||||
|
|
||||||
drawable = XCreatePixmap(awesomeconf->display,
|
drawable = XCreatePixmap(awesomeconf->display,
|
||||||
RootWindow(awesomeconf->display, awesomeconf->phys_screen),
|
RootWindow(awesomeconf->display, awesomeconf->phys_screen),
|
||||||
awesomeconf->statusbar.width,
|
awesomeconf->statusbar.width,
|
||||||
|
|
Loading…
Reference in New Issue