From: Dana Jansens Date: Tue, 15 Apr 2003 21:25:21 +0000 (+0000) Subject: watch out for missing a name X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1c87358858629708164a3e60d15bcd1085179d6d;p=chaz%2Fopenbox watch out for missing a name --- 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)