From: Mikko Rasa Date: Sat, 21 Sep 2019 11:05:53 +0000 (+0300) Subject: Don't apply user position in fullscreen mode X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1d0d0b91c1df8b563d1f8817e042ebdc06762236;p=libs%2Fgui.git Don't apply user position in fullscreen mode --- diff --git a/source/graphics/x11/window.cpp b/source/graphics/x11/window.cpp index 32744de..0b9eacb 100644 --- a/source/graphics/x11/window.cpp +++ b/source/graphics/x11/window.cpp @@ -182,7 +182,7 @@ void Window::platform_show() { DisplayHandle dpy = display.get_private().display; XMapRaised(dpy, priv->window); - if(options.user_position) + if(options.user_position && !options.fullscreen) XMoveWindow(dpy, priv->window, options.x, options.y); }