From 1d4c94f5b6289f04b1039e9546aee1c1a8ab37a5 Mon Sep 17 00:00:00 2001 From: comp500 Date: Sun, 13 Dec 2020 17:00:35 +0000 Subject: [PATCH] Make the main window unresizable, to work better with tiling window managers --- .../kotlin/link/infra/packwiz/installer/ui/gui/InstallWindow.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/link/infra/packwiz/installer/ui/gui/InstallWindow.kt b/src/main/kotlin/link/infra/packwiz/installer/ui/gui/InstallWindow.kt index 3558cf0..0386b64 100644 --- a/src/main/kotlin/link/infra/packwiz/installer/ui/gui/InstallWindow.kt +++ b/src/main/kotlin/link/infra/packwiz/installer/ui/gui/InstallWindow.kt @@ -15,6 +15,8 @@ class InstallWindow(private val handler: GUIHandler) : JFrame() { init { setBounds(100, 100, 493, 95) + // Works better with tiling window managers - there isn't any reason to change window size currently anyway + isResizable = false defaultCloseOperation = EXIT_ON_CLOSE setLocationRelativeTo(null)