all repos — openbox @ 463224359aea1c1d4f13f4daae85d50f5cfb1d10

openbox fork - make it a bit more like ryudo

use the render depth/visual for creating windows
Dana Jansens danakj@orodu.net
commit

463224359aea1c1d4f13f4daae85d50f5cfb1d10

parent

b8de0b48fd32efed1fe242eaee9352cc16b2ee50

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M engines/openbox/openbox.cengines/openbox/openbox.c

@@ -242,10 +242,8 @@

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); }