watch out for missing a name
This commit is contained in:
parent
9bd740cf71
commit
1c87358858
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue