summaryrefslogtreecommitdiff
path: root/openbox/client_menu.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2010-01-18 16:48:00 +0100
committerDana Jansens <danakj@orodu.net>2010-01-28 08:40:07 -0500
commit0cd6f4e43c355ef6b568c769a4ecb2983d5f3fa6 (patch)
tree7ea6ffc1f845c3e0a3fffa336010ab1d9d224d52 /openbox/client_menu.c
parent7cfaae8da9271a7bad4c73886c894a14cbf456e7 (diff)
Add a hook to unset the client in the open menu frame instead of closing it
Also nukes menu_frame_hide_all_client() as it is now unused.
Diffstat (limited to 'openbox/client_menu.c')
-rw-r--r--openbox/client_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client_menu.c b/openbox/client_menu.c
index 18f847ed..e70e6c0f 100644
--- 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();