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

Alexandre Julliard julliard at winehq.org
Tue Nov 27 09:54:33 CST 2007


Module: wine
Branch: master
Commit: 942a70dc64ba513c1fc0fe9c81ae731e9434fe76
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=942a70dc64ba513c1fc0fe9c81ae731e9434fe76

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov 27 16:43:00 2007 +0100

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

---

 server/queue.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/queue.c b/server/queue.c
index f6d6ca4..320bdb0 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -407,7 +407,7 @@ static int merge_message( struct thread_input *input, const struct message *msg
     if (!ptr) return 0;
     prev = LIST_ENTRY( ptr, struct message, entry );
     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->type != msg->type) return 0;
     /* now we can merge it */




More information about the wine-cvs mailing list