From d38c90ec2a4e086146acbb50f7d31779223679a2 Mon Sep 17 00:00:00 2001 From: "Erich E. Hoover" Date: Fri, 29 Nov 2013 18:30:37 -0700 Subject: [PATCH] Updated XEMBED patch to work with latest upstream Wine. --- ...ex11-Enable-disable-windows-when-they-are-un-mapped.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/patches/04-XEMBED/0002-winex11-Enable-disable-windows-when-they-are-un-mapped.patch b/patches/04-XEMBED/0002-winex11-Enable-disable-windows-when-they-are-un-mapped.patch index bda51d75..0f4f4d6c 100644 --- a/patches/04-XEMBED/0002-winex11-Enable-disable-windows-when-they-are-un-mapped.patch +++ b/patches/04-XEMBED/0002-winex11-Enable-disable-windows-when-they-are-un-mapped.patch @@ -33,14 +33,15 @@ index 767c003..f39b922 100644 } -@@ -945,7 +951,18 @@ static void X11DRV_MapNotify( HWND hwnd, XEvent *event ) +@@ -945,8 +951,19 @@ static void X11DRV_MapNotify( HWND hwnd, XEvent *event ) */ static void X11DRV_UnmapNotify( HWND hwnd, XEvent *event ) { + struct x11drv_win_data *data; + BOOL is_embedded; + - if (event->xany.window == x11drv_thread_data()->clip_window) clipping_cursor = 0; + if (event->xany.window == x11drv_thread_data()->clip_window) + clipping_cursor = FALSE; + + if (!(data = get_win_data( hwnd ))) return; +