diff options
Diffstat (limited to 'src/lib/ecore_win32/ecore_win32.c')
-rw-r--r-- | src/lib/ecore_win32/ecore_win32.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/ecore_win32/ecore_win32.c b/src/lib/ecore_win32/ecore_win32.c index 069c59653d..1cdbed52d8 100644 --- a/src/lib/ecore_win32/ecore_win32.c +++ b/src/lib/ecore_win32/ecore_win32.c | |||
@@ -339,6 +339,18 @@ _ecore_win32_window_procedure(HWND window, | |||
339 | Ecore_Win32_Window *w; | 339 | Ecore_Win32_Window *w; |
340 | 340 | ||
341 | INF("SetCursor"); | 341 | INF("SetCursor"); |
342 | |||
343 | /* | ||
344 | * Do not change the cursors on the non client area | ||
345 | * we are in the client area if and only if LOWORD(data_param) == 1 | ||
346 | */ | ||
347 | if (LOWORD(data_param) != 1) | ||
348 | return DefWindowProc(window, message, window_param, data_param); | ||
349 | |||
350 | /* | ||
351 | * Otherwise, we use the cursors set by the API for the | ||
352 | *current window | ||
353 | */ | ||
342 | w = (Ecore_Win32_Window *)GetWindowLongPtr(window, GWLP_USERDATA); | 354 | w = (Ecore_Win32_Window *)GetWindowLongPtr(window, GWLP_USERDATA); |
343 | if (w && w->cursor) | 355 | if (w && w->cursor) |
344 | { | 356 | { |