]> Dogcows Code - chaz/openbox/commitdiff
don't assume screen 0
authorDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 03:39:40 +0000 (03:39 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 03:39:40 +0000 (03:39 +0000)
openbox/frame.c

index 5c3922b1547fde4e82d7f7865125ebde01c5f2f9..7c427b3f85ce83bdf21473406f1edaeb9ffbfecb 100644 (file)
@@ -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,
This page took 0.024196 seconds and 4 git commands to generate.