allow instant client mouse actions to persist until mouse up
if an action triggers on a window, the triggering mouse event should not be passed to the window. the only way to determine this is if the action object lives through the entire event
This commit is contained in:
parent
f4c3d3eae8
commit
69ebda1df8
|
@ -2859,11 +2859,7 @@ e_client_mouse_down(E_Client *ec, int button, Evas_Point *output, E_Binding_Even
|
||||||
if (ec->cur_mouse_action)
|
if (ec->cur_mouse_action)
|
||||||
{
|
{
|
||||||
did_act = EINA_TRUE;
|
did_act = EINA_TRUE;
|
||||||
if ((!ec->cur_mouse_action->func.end_mouse) &&
|
e_object_ref(E_OBJECT(ec->cur_mouse_action));
|
||||||
(!ec->cur_mouse_action->func.end))
|
|
||||||
ec->cur_mouse_action = NULL;
|
|
||||||
if (ec->cur_mouse_action)
|
|
||||||
e_object_ref(E_OBJECT(ec->cur_mouse_action));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((!did_act) || (((pfocus == e_client_focused_get()) || (ec == e_client_focused_get())) && (ec->layer >= player)))
|
if ((!did_act) || (((pfocus == e_client_focused_get()) || (ec == e_client_focused_get())) && (ec->layer >= player)))
|
||||||
|
|
Loading…
Reference in New Issue