if (menu_frame_is_visible(self))
return TRUE;
- if (!menu_frame_show(self))
- return FALSE;
self->monitor = parent->monitor;
self->parent = parent;
menu_frame_hide(parent->child);
parent->child = self;
+ if (!menu_frame_show(self))
+ return FALSE;
+
menu_frame_place_submenu(self);
menu_frame_move_on_screen(self, &dx, &dy);