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:
2519831
)
only disallow shading when the function is not enabled, dont disallow unshading
author
Dana Jansens
<danakj@orodu.net>
Mon, 31 Mar 2003 20:24:56 +0000
(20:24 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 31 Mar 2003 20:24:56 +0000
(20:24 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 5881cac651341efeedaa93084d230e20662852a3..8f219193ef6fe008fc76683f6029f7b78b78b046 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-1659,7
+1659,7
@@
void client_maximize(Client *self, gboolean max, int dir, gboolean savearea)
void client_shade(Client *self, gboolean shade)
{
- if (
!(self->functions & Func_Shade) || /* can't
*/
+ if (
(!(self->functions & Func_Shade) && shade) || /* can't shade
*/
self->shaded == shade) return; /* already done */
/* when we're iconic, don't change the wmstate */