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:
883bad4
)
i think this is good? can you run X at 32 bits?
author
Dana Jansens
<danakj@orodu.net>
Sun, 20 May 2007 03:38:02 +0000
(
03:38
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 20 May 2007 03:38:02 +0000
(
03:38
+0000)
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index ed88859a396266cfa28c041fd0e4f59e24a49e4c..5c3922b1547fde4e82d7f7865125ebde01c5f2f9 100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-72,6
+72,11
@@
static Visual *check_32bit_client(ObClient *c)
XWindowAttributes wattrib;
Status ret;
+ /* we're already running at 32 bit depth, yay. we don't need to use their
+ visual */
+ if (RrDepth(ob_rr_inst) == 32)
+ return NULL;
+
ret = XGetWindowAttributes(ob_display, c->window, &wattrib);
g_assert(ret != BadDrawable);
g_assert(ret != BadWindow);