From 2dada607c547a36f7e3c887852b7484c653ee56e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 20 May 2007 03:39:40 +0000 Subject: [PATCH] don't assume screen 0 --- openbox/frame.c | 4 ++-- 1 file 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, -- 2.39.2