From 1c87358858629708164a3e60d15bcd1085179d6d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 15 Apr 2003 21:25:21 +0000 Subject: [PATCH] watch out for missing a name --- openbox/action.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbox/action.c b/openbox/action.c index 33950daa..2d228423 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -707,8 +707,10 @@ void action_exit(union ActionData *data) void action_showmenu(union ActionData *data) { - menu_show(data->showmenu.name, data->showmenu.x, data->showmenu.y, - data->showmenu.c); + if (data->showmenu.name) { + menu_show(data->showmenu.name, data->showmenu.x, data->showmenu.y, + data->showmenu.c); + } } static void popup_cycle(Client *c, gboolean hide) -- 2.45.2