server: When merging mouse messages ignore the window if it isn't set.
This commit is contained in:
parent
01826e0c98
commit
942a70dc64
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue