From f0c623789c827c185517191e118acfb703a69077 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 17 Sep 2007 23:43:43 +0200 Subject: [PATCH] change DefaultScreen to the right screen --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.c b/layout.c index 6ee057ab..5fafd9cf 100644 --- a/layout.c +++ b/layout.c @@ -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);