user32: Pass a NULL rectangle in the ClipCursor entry point when clipping is reset because of focus change.
diff --git a/server/queue.c b/server/queue.c
index 91fe1fc..8bf2336 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -354,9 +354,9 @@
get_top_window_rectangle( desktop, &top_rect );
if (!rect || !intersect_rect( &new_rect, &top_rect, rect )) new_rect = top_rect;
- if (!memcmp( &desktop->cursor.clip, &new_rect, sizeof(new_rect) )) return;
desktop->cursor.clip = new_rect;
- if (desktop->cursor.clip_msg) post_desktop_message( desktop, desktop->cursor.clip_msg, 0, 0 );
+ if (desktop->cursor.clip_msg)
+ post_desktop_message( desktop, desktop->cursor.clip_msg, rect != NULL, 0 );
/* warp the mouse to be inside the clip rect */
x = min( max( desktop->cursor.x, desktop->cursor.clip.left ), desktop->cursor.clip.right-1 );