]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_menu.c
Add a hook to unset the client in the open menu frame instead of closing it
[chaz/openbox] / openbox / client_menu.c
index 18f847edbd013227cce717b44ed85dce8f5c22f5..e70e6c0fac614f69044dce479180d0ca6a60f5c9 100644 (file)
@@ -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();
This page took 0.021687 seconds and 4 git commands to generate.