_e_menu_activate_time = 0;
_e_menu_activate_floating = 0;
_e_menu_activate_internal(m, zone);
+ if (!m->zone)
+ {
+ e_menu_deactivate(m);
+ return;
+ }
switch (dir)
{
case E_MENU_POP_DIRECTION_LEFT:
_e_menu_activate_time = activate_time;
_e_menu_activate_floating = 0;
_e_menu_activate_internal(m, zone);
+ if (!m->zone)
+ {
+ e_menu_deactivate(m);
+ return;
+ }
switch (dir)
{
case E_MENU_POP_DIRECTION_LEFT:
_e_menu_activate_time = 0;
_e_menu_activate_floating = 0;
_e_menu_activate_internal(m, zone);
+ if (!m->zone)
+ {
+ e_menu_deactivate(m);
+ return;
+ }
switch (dir)
{
case E_MENU_POP_DIRECTION_LEFT:
{
ecore_x_window_del(_e_menu_win);
_e_menu_win = 0;
- m->zone = zone;
return;
}
}