From: Dana Jansens Date: Sun, 20 May 2007 03:39:40 +0000 (+0000) Subject: don't assume screen 0 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2dada607c547a36f7e3c887852b7484c653ee56e;p=chaz%2Fopenbox don't assume screen 0 --- diff --git a/openbox/frame.c b/openbox/frame.c index 5c3922b1..7c427b3f 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -109,8 +109,8 @@ ObFrame *frame_new(ObClient *client) XCreateColormap(ob_display, RootWindow(ob_display, ob_screen), visual, AllocNone); - attrib.background_pixel = BlackPixel(ob_display, 0); - attrib.border_pixel = BlackPixel(ob_display, 0); + attrib.background_pixel = BlackPixel(ob_display, ob_screen); + attrib.border_pixel = BlackPixel(ob_display, ob_screen); } attrib.event_mask = FRAME_EVENTMASK; self->window = createWindow(RootWindow(ob_display, ob_screen), visual,