forked from enlightenment/enlightenment
only unset cur_mouse_action on client menu delete for the right action
ref 50198ecdde
this still needs improving....
This commit is contained in:
parent
7d29dbf4ec
commit
f7f0cc5b3e
|
@ -269,7 +269,8 @@ e_int_client_menu_del(E_Client *ec)
|
|||
if (!ec->border_menu) return;
|
||||
e_menu_post_deactivate_callback_set(ec->border_menu, NULL, NULL);
|
||||
E_FREE_FUNC(ec->border_menu, e_object_del);
|
||||
ec->cur_mouse_action = NULL;
|
||||
if (ec->cur_mouse_action && eina_streq(ec->cur_mouse_action->name, "window_menu"))
|
||||
E_FREE_FUNC(ec->cur_mouse_action, e_object_unref);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue