[client] x11: fix failure to set window position correctly when set

This commit is contained in:
Geoffrey McRae 2021-11-30 13:04:39 +11:00
parent bc022c77f4
commit 9780f51558

View File

@ -573,6 +573,9 @@ static bool x11Init(const LG_DSInitParams params)
XMapWindow(x11.display, x11.window);
XFlush(x11.display);
if (!params.center)
XMoveWindow(x11.display, x11.window, params.x, params.y);
XSetLocaleModifiers(""); // Load XMODIFIERS
x11.xim = XOpenIM(x11.display, 0, 0, 0);