change DefaultScreen to the right screen

This commit is contained in:
Julien Danjou 2007-09-17 23:43:43 +02:00
parent ca17b9349f
commit f0c623789c
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ uicb_setlayout(Display *disp,
if(sel)
arrange(disp, drawcontext, awesomeconf);
else
drawstatusbar(disp, DefaultScreen(disp), drawcontext, awesomeconf);
drawstatusbar(disp, awesomeconf->screen, drawcontext, awesomeconf);
saveawesomeprops(disp, awesomeconf);