Alexandre Julliard : winex11: Add window data structure locking to the XEmbed event handler.
Alexandre Julliard
julliard at winehq.org
Wed Sep 19 13:39:45 CDT 2012
Module: wine
Branch: master
Commit: 5f8e41233b5cfb7f646d580fb7515175186b2ca9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5f8e41233b5cfb7f646d580fb7515175186b2ca9
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Sep 19 13:14:00 2012 +0200
winex11: Add window data structure locking to the XEmbed event handler.
---
dlls/winex11.drv/event.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index 2a4fda7..9012cae 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -1566,7 +1566,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
*/
static void handle_xembed_protocol( HWND hwnd, XClientMessageEvent *event )
{
- struct x11drv_win_data *data = X11DRV_get_win_data( hwnd );
+ struct x11drv_win_data *data = get_win_data( hwnd );
if (!data) return;
@@ -1581,6 +1581,7 @@ static void handle_xembed_protocol( HWND hwnd, XClientMessageEvent *event )
hwnd, event->window, event->data.l[1], event->data.l[2] );
break;
}
+ release_win_data( data );
}
More information about the wine-cvs
mailing list