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:
630d950
)
don't let you maximize menu and toolbars
author
Dana Jansens
<danakj@orodu.net>
Wed, 23 May 2007 16:17:03 +0000
(16:17 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 23 May 2007 16:17:03 +0000
(16:17 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index d3e8f1dc65718e40373fb6bd50c241d5e77076f4..2c5045498df7ae4ad2ccdc2c013346358e6bec7c 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-1625,9
+1625,11
@@
void client_setup_decor_and_functions(ObClient *self)
case OB_CLIENT_TYPE_MENU:
case OB_CLIENT_TYPE_TOOLBAR:
- /* these windows can't iconify */
- self->decorations &= ~OB_FRAME_DECOR_ICONIFY;
- self->functions &= ~OB_CLIENT_FUNC_ICONIFY;
+ /* these windows can't iconify or maximize */
+ self->decorations &= ~(OB_FRAME_DECOR_ICONIFY |
+ OB_FRAME_DECOR_MAXIMIZE);
+ self->functions &= ~(OB_CLIENT_FUNC_ICONIFY |
+ OB_CLIENT_FUNC_MAXIMIZE);
break;
case OB_CLIENT_TYPE_SPLASH: