server: When merging mouse messages ignore the window if it isn't set.

This commit is contained in:
Alexandre Julliard 2007-11-27 16:43:00 +01:00
parent 01826e0c98
commit 942a70dc64
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ static int merge_message( struct thread_input *input, const struct message *msg
if (!ptr) return 0; if (!ptr) return 0;
prev = LIST_ENTRY( ptr, struct message, entry ); prev = LIST_ENTRY( ptr, struct message, entry );
if (prev->result) return 0; if (prev->result) return 0;
if (prev->win != msg->win) return 0; if (prev->win && msg->win && prev->win != msg->win) return 0;
if (prev->msg != msg->msg) return 0; if (prev->msg != msg->msg) return 0;
if (prev->type != msg->type) return 0; if (prev->type != msg->type) return 0;
/* now we can merge it */ /* now we can merge it */