winex11: Catch invalid values from broken QX11EmbedContainer implementations.

This commit is contained in:
Sebastian Lackner 2014-01-23 20:19:41 +01:00 committed by Alexandre Julliard
parent e06d2dbc67
commit f3568a5e12
1 changed files with 1 additions and 1 deletions

View File

@ -1662,7 +1662,7 @@ static void handle_xembed_protocol( HWND hwnd, XClientMessageEvent *event )
data->embedder = event->data.l[3];
/* window has been marked as embedded before (e.g. systray) */
if (data->embedded)
if (data->embedded || !data->embedder /* broken QX11EmbedContainer implementation */)
{
release_win_data( data );
break;