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:
5c390b9
)
disable the decorate option for non-normal (undecorated) windows
author
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 16:51:22 +0000
(16:51 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 16:51:22 +0000
(16:51 +0000)
openbox/client_menu.c
patch
|
blob
|
history
diff --git
a/openbox/client_menu.c
b/openbox/client_menu.c
index 083341ca4bac832c27d50e8b96f0b2b728bd1e78..d7f26e3e1d73d2c0e0193af977d4eeea0fa89471 100644
(file)
--- a/
openbox/client_menu.c
+++ b/
openbox/client_menu.c
@@
-89,6
+89,9
@@
static void client_update(ObMenuFrame *frame, gpointer data)
e = menu_find_entry_id(menu, CLIENT_CLOSE);
e->data.normal.enabled = frame->client->functions & OB_CLIENT_FUNC_CLOSE;
+
+ e = menu_find_entry_id(menu, CLIENT_DECORATE);
+ e->data.normal.enabled = client_normal(frame->client);
}
static void layer_update(ObMenuFrame *frame, gpointer data)