Alexandre Julliard : winex11: Select for EnterNotify events on the desktop window in order to update the cursor .

Alexandre Julliard julliard at winehq.org
Mon May 10 11:59:14 CDT 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon May 10 12:34:17 2010 +0200

winex11: Select for EnterNotify events on the desktop window in order to update the cursor.

---

 dlls/winex11.drv/desktop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c
index a2bc004..4a36e46 100644
--- a/dlls/winex11.drv/desktop.c
+++ b/dlls/winex11.drv/desktop.c
@@ -142,7 +142,7 @@ Window CDECL X11DRV_create_desktop( UINT width, UINT height )
     wine_tsx11_lock();
 
     /* Create window */
-    win_attr.event_mask = ExposureMask | KeyPressMask | KeyReleaseMask |
+    win_attr.event_mask = ExposureMask | KeyPressMask | KeyReleaseMask | EnterWindowMask |
                           PointerMotionMask | ButtonPressMask | ButtonReleaseMask;
     win_attr.cursor = XCreateFontCursor( display, XC_top_left_arrow );
 




More information about the wine-cvs mailing list