mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Window decorations: use special fix for maximized bounds only on Windows (issue #469)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user