Commit 942a70dc authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 01826e0c
...@@ -407,7 +407,7 @@ static int merge_message( struct thread_input *input, const struct message *msg ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment