fix window position restoration on client startup

This commit is contained in:
Sen 2025-05-25 20:20:46 +02:00
parent 09149c7b88
commit 93d997c3c0

View file

@ -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() {