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
25ae14416c
commit
1c27386047
|
@ -269,7 +269,8 @@ e_int_client_menu_del(E_Client *ec)
|
||||||
if (!ec->border_menu) return;
|
if (!ec->border_menu) return;
|
||||||
e_menu_post_deactivate_callback_set(ec->border_menu, NULL, NULL);
|
e_menu_post_deactivate_callback_set(ec->border_menu, NULL, NULL);
|
||||||
E_FREE_FUNC(ec->border_menu, e_object_del);
|
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
|
static void
|
||||||
|
|
Loading…
Reference in New Issue