From 93d997c3c08170a857cd0d740f3e8c30697eab00 Mon Sep 17 00:00:00 2001 From: Sen Date: Sun, 25 May 2025 20:20:46 +0200 Subject: [PATCH] fix window position restoration on client startup --- client/src/client/window/Window.java | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/client/window/Window.java b/client/src/client/window/Window.java index 515c79c..a66933e 100644 --- a/client/src/client/window/Window.java +++ b/client/src/client/window/Window.java @@ -243,6 +243,7 @@ public abstract class Window { glfwShowWindow(window); // wcf_show(win, 1); // wcf_limits(win, 1, 1, -1, -1); + glfwSetWindowMonitor(window, NULL, xpos, ypos, xsize, ysize, GLFW_DONT_CARE); // set position twice to work around bugs in some tiling window managers } public static WindowEvent[] poll() {