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:
cd1694c
)
defn vars at the top of funcs
author
Dana Jansens
<danakj@orodu.net>
Fri, 21 Mar 2003 10:33:26 +0000
(10:33 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 21 Mar 2003 10:33:26 +0000
(10:33 +0000)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index 073b565f0342e239cd469f140c4d8054c2b8d817..550d7266b42b7b317a61fde420356084bcd44c97 100644
(file)
--- a/
openbox/screen.c
+++ b/
openbox/screen.c
@@
-423,13
+423,14
@@
void screen_show_desktop(gboolean show)
void screen_install_colormap(Client *client, gboolean install)
{
+ XWindowAttributes wa;
+
if (client == NULL) {
if (install)
XInstallColormap(ob_display, render_colormap);
else
XUninstallColormap(ob_display, render_colormap);
} else {
- XWindowAttributes wa;
if (XGetWindowAttributes(ob_display, client->window, &wa) &&
wa.colormap != None) {
if (install)