projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8de0b4
)
use the render depth/visual for creating windows
author
Dana Jansens
<danakj@orodu.net>
Mon, 17 Mar 2003 22:31:17 +0000
(22:31 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 17 Mar 2003 22:31:17 +0000
(22:31 +0000)
engines/openbox/openbox.c
patch
|
blob
|
history
diff --git
a/engines/openbox/openbox.c
b/engines/openbox/openbox.c
index
15cb19d
..
aa4c71e
100644
(file)
--- 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);
}