606d2f48
by Rémi Bernon at 2025-10-24T21:59:26+02:00
winex11: Don't keep track of the minimized window rects.
We use the window vs visible rect differences to compute the new window
rect from its visible rect changes in window_update_client_config.
When a window gets restored the win32 minimized rect differences won't
match the restored rect differences and the computation is wrong if we
do it on the minimized rects, as it need to happen before the actual
SC_RESTORE command it sent.
The minimized rects shouldn't matter as we use minimized style directly,
and they also cause trouble with empty client areas, so better ignore
them.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58852