projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'wip/edges', 'mikabox/crap', 'mikabox/lock', 'mikabox/maybe' and ...
[mikachu/openbox.git]
/
openbox
/
client_menu.c
diff --git
a/openbox/client_menu.c
b/openbox/client_menu.c
index
652552e
..
ded84eb
100644
(file)
--- a/
openbox/client_menu.c
+++ b/
openbox/client_menu.c
@@
-78,6
+78,10
@@
static gboolean client_menu_update(ObMenuFrame *frame, gpointer data)
ObClient *c = frame->client;
if (e->type == OB_MENU_ENTRY_TYPE_NORMAL) {
+ if (c->locked) {
+ *en = FALSE;
+ continue;
+ }
switch (e->id) {
case CLIENT_ICONIFY:
*en = c->functions & OB_CLIENT_FUNC_ICONIFY;