Update size in addition to position when updating layer properties
This commit is contained in:
parent
11cb3adb8f
commit
afe7dc47c2
1 changed files with 4 additions and 1 deletions
5
glfw/x11_window.c
vendored
5
glfw/x11_window.c
vendored
|
|
@ -701,7 +701,10 @@ update_wm_hints(_GLFWwindow *window, const WindowGeometry *wg, const _GLFWwndcon
|
|||
if (count && _glfw.x11.NET_WM_STATE) XChangeProperty(_glfw.x11.display, window->x11.handle, _glfw.x11.NET_WM_STATE,
|
||||
XA_ATOM, 32, PropModeReplace, (unsigned char*) states, count);
|
||||
}
|
||||
if (!wndconfig && ok) _glfwPlatformSetWindowPos(window, wg->x, wg->y);
|
||||
if (!wndconfig && ok) {
|
||||
_glfwPlatformSetWindowPos(window, wg->x, wg->y);
|
||||
_glfwPlatformSetWindowSize(window, wg->width, wg->height);
|
||||
}
|
||||
return ok;
|
||||
#undef config
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue