Skip to content

Commit

Permalink
[client] x11: fix failure to set window position correctly when set
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Nov 30, 2021
1 parent bc022c7 commit 9780f51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/displayservers/X11/x11.c
Expand Up @@ -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);

Expand Down

0 comments on commit 9780f51

Please sign in to comment.