forked from enlightenment/enlightenment
set menu zone further up to avoid segv
SVN revision: 26410
This commit is contained in:
parent
9a8ea688c9
commit
a19329ea92
|
@ -1713,6 +1713,7 @@ _e_menu_activate_internal(E_Menu *m, E_Zone *zone)
|
||||||
{
|
{
|
||||||
ecore_x_window_del(_e_menu_win);
|
ecore_x_window_del(_e_menu_win);
|
||||||
_e_menu_win = 0;
|
_e_menu_win = 0;
|
||||||
|
m->zone = zone;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1721,6 +1722,7 @@ _e_menu_activate_internal(E_Menu *m, E_Zone *zone)
|
||||||
printf("FIXME: cannot move menus between containers yet\n");
|
printf("FIXME: cannot move menus between containers yet\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
m->zone = zone;
|
||||||
if (!m->active)
|
if (!m->active)
|
||||||
{
|
{
|
||||||
/* this remove is in case the menu is marked as inactive but hasnt */
|
/* this remove is in case the menu is marked as inactive but hasnt */
|
||||||
|
@ -1749,7 +1751,6 @@ _e_menu_activate_internal(E_Menu *m, E_Zone *zone)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m->cur.visible = 1;
|
m->cur.visible = 1;
|
||||||
m->zone = zone;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue