Updated XEMBED patch to work with latest upstream Wine.

This commit is contained in:
Erich E. Hoover 2013-11-29 18:30:37 -07:00
parent 44bba738bb
commit d38c90ec2a

View File

@ -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;
+