winex11: Add window data structure locking to the XEmbed event handler.

This commit is contained in:
Alexandre Julliard 2012-09-19 13:14:00 +02:00
parent 220f1af064
commit 5f8e41233b
1 changed files with 2 additions and 1 deletions

View File

@ -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 );
}