projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ec6359
)
user32: Only call the driver when the cursor has actually changed.
author
Alexandre Julliard
<julliard@winehq.org>
Tue, 20 Apr 2010 19:15:04 +0000
(21:15 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 21 Apr 2010 09:07:45 +0000
(11:07 +0200)
dlls/user32/cursoricon.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/user32/cursoricon.c
b/dlls/user32/cursoricon.c
index
52e49bc
..
0fc55ad
100644
(file)
--- a/
dlls/user32/cursoricon.c
+++ b/
dlls/user32/cursoricon.c
@@
-1789,7
+1789,7
@@
HCURSOR WINAPI DECLSPEC_HOTPATCH SetCursor( HCURSOR hCursor /* [in] Handle of cu
if (!ret) return 0;
/* Change the cursor shape only if it is visible */
- if (show_count >= 0) USER_Driver->pSetCursor( hCursor );
+ if (show_count >= 0
&& hOldCursor != hCursor
) USER_Driver->pSetCursor( hCursor );
return hOldCursor;
}