summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32/ecore_win32_window.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-06-29 17:57:20 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-06-29 19:57:34 +0200
commit08f7baab26b686937130ec6f8851570782160b12 (patch)
treecb84a0629f5e2ce0a7c3b4fc053a78848ffc7a65 /src/lib/ecore_win32/ecore_win32_window.c
parentda06260e793f12230da1cbb8cf9467114974d836 (diff)
ecore_win32: discard WM_MOUSEMOVE message if it has the same mouse coordinates than the previous one. See link in commit for an explanation
Diffstat (limited to 'src/lib/ecore_win32/ecore_win32_window.c')
-rw-r--r--src/lib/ecore_win32/ecore_win32_window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_win32/ecore_win32_window.c b/src/lib/ecore_win32/ecore_win32_window.c
index 81c6c52..00b7ff2 100644
--- a/src/lib/ecore_win32/ecore_win32_window.c
+++ b/src/lib/ecore_win32/ecore_win32_window.c
@@ -143,6 +143,8 @@ ecore_win32_window_internal_new(Ecore_Win32_Window *parent,
143 w->drag.y = y; 143 w->drag.y = y;
144 w->drag.w = rect.right - rect.left; 144 w->drag.w = rect.right - rect.left;
145 w->drag.h = rect.bottom - rect.top; 145 w->drag.h = rect.bottom - rect.top;
146 w->drag.current_mouse_x = -32768;
147 w->drag.current_mouse_y = -32768;
146 148
147 return w; 149 return w;
148} 150}