forked from enlightenment/efl
ecore-wl2: Send mouse up event when we ungrab input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
16864aa2c4
commit
68b36dfde3
|
@ -225,9 +225,8 @@ static void
|
|||
_ecore_wl2_input_ungrab(Ecore_Wl2_Input *input)
|
||||
{
|
||||
if ((input->grab.window) && (input->grab.button))
|
||||
{
|
||||
/* TODO: send a mouse up here */
|
||||
}
|
||||
_ecore_wl2_input_mouse_up_send(input, input->grab.window, 0,
|
||||
input->grab.button, input->grab.timestamp);
|
||||
|
||||
input->grab.window = NULL;
|
||||
input->grab.button = 0;
|
||||
|
|
Loading…
Reference in New Issue