w32_common: clear window_minimized flag on minimize->maximize
It doesn't send RESTORE in this case, so the state got confused. Fixes: #17678
This commit is contained in:
1 parent
e7d3fe8668
commit
6ab49ac5d7
1 file changed
+1
@@ -1407,6 +1407,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam,
|
||||
switch (wParam) {
|
||||
case SIZE_MAXIMIZED:
|
||||
w32->opts->window_maximized = true;
|
||||
w32->opts->window_minimized = false;
|
||||
break;
|
||||
case SIZE_MINIMIZED:
|
||||
w32->opts->window_minimized = true;
|
||||
|
||||
Reference in new issue
Block a user