Commit 5f8e4123 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 220f1af0
...@@ -1566,7 +1566,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event ) ...@@ -1566,7 +1566,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
*/ */
static void handle_xembed_protocol( 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; if (!data) return;
...@@ -1581,6 +1581,7 @@ static void handle_xembed_protocol( HWND hwnd, XClientMessageEvent *event ) ...@@ -1581,6 +1581,7 @@ static void handle_xembed_protocol( HWND hwnd, XClientMessageEvent *event )
hwnd, event->window, event->data.l[1], event->data.l[2] ); hwnd, event->window, event->data.l[1], event->data.l[2] );
break; break;
} }
release_win_data( data );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment