ecore-wl2: Send mouse up event when we ungrab input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-09-23 11:46:58 -04:00
parent 16864aa2c4
commit 68b36dfde3
1 changed files with 2 additions and 3 deletions

View File

@ -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;