Do not apply SW_RESTORE when the window receives focus. Fixes #53.
This commit is contained in:
parent
6c4de65e20
commit
4ff2240b57
|
@ -376,11 +376,6 @@ final class WindowsDisplay implements DisplayImplementation {
|
|||
restoreDisplayMode();
|
||||
}
|
||||
if (parent == null) {
|
||||
if(maximized) {
|
||||
showWindow(getHwnd(), SW_MAXIMIZE);
|
||||
} else {
|
||||
showWindow(getHwnd(), SW_RESTORE);
|
||||
}
|
||||
setForegroundWindow(getHwnd());
|
||||
}
|
||||
setFocus(getHwnd());
|
||||
|
|
Loading…
Reference in New Issue