summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-20 03:39:40 +0000
committerDana Jansens <danakj@orodu.net>2007-05-20 03:39:40 +0000
commit2dada607c547a36f7e3c887852b7484c653ee56e (patch)
tree075aa3da64c09f4951b8f8c5a23b64418854adda /openbox
parent8159ac5f8634ccaf7cd34e12ea1efa457e4bdcac (diff)
don't assume screen 0
Diffstat (limited to 'openbox')
-rw-r--r--openbox/frame.c4
1 files changed, 2 insertions, 2 deletions
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,