mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] x11: fix failure to set window position correctly when set
This commit is contained in:
parent
bc022c77f4
commit
9780f51558
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user