don't assume screen 0
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
openbox/frame.c
→
openbox/frame.c
@@ -109,8 +109,8 @@ self->colormap = attrib.colormap =
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,