From: Rémi Bernon rbernon@codeweavers.com
Based on a patch from brett.didemus on Bugzilla, thanks!
Fixes: 257364eb5f671b2fd63507373b0427b519dfa71d --- dlls/win32u/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/win32u/window.c b/dlls/win32u/window.c index 4c52bc21f2a..66d270fd3a2 100644 --- a/dlls/win32u/window.c +++ b/dlls/win32u/window.c @@ -2136,11 +2136,11 @@ static void update_window_client_surfaces( HWND hwnd ) HWND *children; int i;
+ update_client_surfaces( hwnd ); + if (!(children = list_window_children( hwnd ))) return; for (i = 0; children[i]; i++) update_window_client_surfaces( children[i] ); free( children ); - - update_client_surfaces( hwnd ); }
static HICON get_icon_info( HICON icon, ICONINFO *ii )