aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wl2/ecore_wl2_input.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-09-23 11:46:58 -0400
committerChris Michael <cp.michael@samsung.com>2015-12-03 12:02:40 -0500
commit68b36dfde3f94c52c20f41b13e02169f83d6c1a9 (patch)
tree5bd9817a1ae2b3f1daebd6f165a72ca0884ee4e9 /src/lib/ecore_wl2/ecore_wl2_input.c
parentecore-wl2: Send mouse button down/up events when we get a wayland (diff)
downloadefl-68b36dfde3f94c52c20f41b13e02169f83d6c1a9.tar.gz
ecore-wl2: Send mouse up event when we ungrab input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_input.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index adeddbe94e..b8d0f0de3e 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -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;