Alexandre Julliard : user32/tests: Allow WM_MOUSEACTIVATE in the mouse hover test for compatibility with X11 focus policy .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 20 16:08:41 CDT 2007


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Aug 20 22:03:06 2007 +0200

user32/tests: Allow WM_MOUSEACTIVATE in the mouse hover test for compatibility with X11 focus policy.

---

 dlls/user32/tests/msg.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index ef2cd6f..a603252 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -8421,6 +8421,8 @@ static void test_quit_message(void)
 }
 
 static const struct message WmMouseHoverSeq[] = {
+    { WM_MOUSEACTIVATE, sent|optional },  /* we can get those when moving the mouse in focus-follow-mouse mode under X11 */
+    { WM_MOUSEACTIVATE, sent|optional },
     { WM_TIMER, sent|optional }, /* XP sends it */
     { WM_SYSTIMER, sent },
     { WM_MOUSEHOVER, sent|wparam, 0 },




More information about the wine-cvs mailing list