Window decorations: use special fix for maximized bounds only on Windows (issue #469)

This commit is contained in:
Karl Tauber
2022-02-26 13:33:55 +01:00
parent a365b750d9
commit 05d795b2ae

View File

@@ -615,7 +615,7 @@ debug*/
int maximizedWidth = screenBounds.width;
int maximizedHeight = screenBounds.height;
if( !isMaximizedBoundsFixed() ) {
if( SystemInfo.isWindows && !isMaximizedBoundsFixed() ) {
// on Java 8 to 14, maximized x,y are 0,0 based on all screens in a multi-screen environment
maximizedX = 0;
maximizedY = 0;