projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
handle locked windows in client list menus also. this is a really stupid way of doing it.
[mikachu/openbox.git]
/
openbox
/
client_list_combined_menu.c
diff --git
a/openbox/client_list_combined_menu.c
b/openbox/client_list_combined_menu.c
index
c26b6fa
..
395d6d0
100644
(file)
--- a/
openbox/client_list_combined_menu.c
+++ b/
openbox/client_list_combined_menu.c
@@
-119,7
+119,7
@@
static void menu_execute(ObMenuEntry *self, ObMenuFrame *f,
}
else {
ObClient *t = self->data.normal.data;
- if (t) { /* it's set to NULL if its destroyed */
+ if (t
&& !t->locked
) { /* it's set to NULL if its destroyed */
gboolean here = state & ShiftMask;
client_activate(t, TRUE, here, TRUE, TRUE, TRUE);