fix window position restoration on client startup
This commit is contained in:
parent
09149c7b88
commit
93d997c3c0
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ public abstract class Window {
|
||||||
glfwShowWindow(window);
|
glfwShowWindow(window);
|
||||||
// wcf_show(win, 1);
|
// wcf_show(win, 1);
|
||||||
// wcf_limits(win, 1, 1, -1, -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() {
|
public static WindowEvent[] poll() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue