projects
/
dana
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a hook to unset the client in the open menu frame instead of closing it
[dana/openbox.git]
/
openbox
/
client_menu.c
diff --git
a/openbox/client_menu.c
b/openbox/client_menu.c
index
18f847e
..
e70e6c0
100644
(file)
--- a/
openbox/client_menu.c
+++ b/
openbox/client_menu.c
@@
-118,7
+118,8
@@
static void client_menu_execute(ObMenuEntry *e, ObMenuFrame *f,
gint x, y;
gulong ignore_start;
- g_assert(c);
+ if (!c)
+ return;
if (!config_focus_under_mouse)
ignore_start = event_start_ignore_all_enters();