http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb46ec
)
user32: Don't forward WM_SETCURSOR to the desktop window.
author
Alexandre Julliard
<julliard@winehq.org>
Fri, 12 Feb 2010 14:55:45 +0000
(15:55 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 12 Feb 2010 14:55:45 +0000
(15:55 +0100)
dlls/user32/defwnd.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/user32/defwnd.c
b/dlls/user32/defwnd.c
index ba4fd137e6eca17e4c9904367038ea67cf0ca3ad..31e25f39fceadc478a058e3e09c17727c498a98a 100644
(file)
--- a/
dlls/user32/defwnd.c
+++ b/
dlls/user32/defwnd.c
@@
-528,7
+528,9
@@
static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
* give the parent first chance to set the cursor */
if ((LOWORD(lParam) < HTSIZEFIRST) || (LOWORD(lParam) > HTSIZELAST))
{
- if (SendMessageW(GetParent(hwnd), WM_SETCURSOR, wParam, lParam)) return TRUE;
+ HWND parent = GetParent( hwnd );
+ if (parent != GetDesktopWindow() &&
+ SendMessageW( parent, WM_SETCURSOR, wParam, lParam )) return TRUE;
}
}
NC_HandleSetCursor( hwnd, wParam, lParam );