Sebastian Lackner : winex11: Initialize thread data in clip_cursor_notify.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 5 10:28:04 CDT 2015


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

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Tue Aug  4 18:43:26 2015 +0200

winex11: Initialize thread data in clip_cursor_notify.

---

 dlls/winex11.drv/mouse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 3a11b41..e462b55 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -452,7 +452,7 @@ void reset_clipping_window(void)
  */
 LRESULT clip_cursor_notify( HWND hwnd, HWND new_clip_hwnd )
 {
-    struct x11drv_thread_data *data = x11drv_thread_data();
+    struct x11drv_thread_data *data = x11drv_init_thread_data();
 
     if (hwnd == GetDesktopWindow())  /* change the clip window stored in the desktop process */
     {




More information about the wine-cvs mailing list