From 463224359aea1c1d4f13f4daae85d50f5cfb1d10 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Mar 2003 22:31:17 +0000 Subject: [PATCH] use the render depth/visual for creating windows --- engines/openbox/openbox.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engines/openbox/openbox.c b/engines/openbox/openbox.c index 15cb19d6..aa4c71ea 100644 --- a/engines/openbox/openbox.c +++ b/engines/openbox/openbox.c @@ -242,10 +242,8 @@ void shutdown() static Window createWindow(Window parent, unsigned long mask, XSetWindowAttributes *attrib) { - /* XXX DONT USE THE DEFAULT SHIT */ return XCreateWindow(ob_display, parent, 0, 0, 1, 1, 0, - DefaultDepth(ob_display, ob_screen), InputOutput, - DefaultVisual(ob_display, ob_screen), + render_depth, InputOutput, render_visual, mask, attrib); } -- 2.39.2