mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 17:43:44 +00:00
winex11: Add window data structure locking to the XEmbed event handler.
This commit is contained in:
parent
220f1af064
commit
5f8e41233b
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue