diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2014-06-29 17:57:20 +0200 |
---|---|---|
committer | Cedric BAIL <c.bail@partner.samsung.com> | 2014-06-29 19:57:34 +0200 |
commit | 08f7baab26b686937130ec6f8851570782160b12 (patch) | |
tree | cb84a0629f5e2ce0a7c3b4fc053a78848ffc7a65 /src/lib/ecore_win32/ecore_win32_window.c | |
parent | da06260e793f12230da1cbb8cf9467114974d836 (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.c | 2 |
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 81c6c52c5c..00b7ff21e3 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 | } |