Commit dcb123fa authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

winex11: Ignore BadWindow errors caused by XConfigureWindow.

This typically happens when resizing a D3D child window. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54810
parent 02fcbeb5
......@@ -228,6 +228,7 @@ static inline BOOL ignore_error( Display *display, XErrorEvent *event )
{
if ((event->request_code == X_SetInputFocus ||
event->request_code == X_ChangeWindowAttributes ||
event->request_code == X_ConfigureWindow ||
event->request_code == X_SendEvent) &&
(event->error_code == BadMatch ||
event->error_code == BadWindow)) return TRUE;
......
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