Summary: When we do an input_ungrab, we should be sending a mouse up
event so that apps/elm/etc know that the mouse has been released. This
fixes an issue in the Elm Features DnD test report by Daniel Zaoui
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!input) return;
+
+ _ecore_wl_input_mouse_up_send(input, input->grab,
+ 0, input->grab_button, input->grab_timestamp);
+
input->grab = NULL;
input->grab_button = 0;
}
if (!input) return;
if (input->grab != win) return;
- _ecore_wl_input_mouse_up_send(input, input->grab,
- 0, input->grab_button, input->grab_timestamp);
-
ecore_wl_input_ungrab(input);
}