Linux: use X11 window manager events to resize window, if FlatLaf window decorations are enabled (issue #866)

also made drag border slightly wider (from 5 to 6 pixels) and changed drag corner width from 16 to 32 to match native windows
This commit is contained in:
Karl Tauber
2025-03-06 17:47:55 +01:00
parent 9b1ae5c74a
commit d612b9f4b8
9 changed files with 48 additions and 18 deletions

View File

@@ -889,8 +889,8 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
RootPane.background #ccffcc HSL 120 100 90 javax.swing.plaf.ColorUIResource [UI]
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
RootPane.borderDragThickness 5
RootPane.cornerDragWidth 16
RootPane.borderDragThickness 6
RootPane.cornerDragWidth 32
RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
[0] ENTER
[1] press