]> git.tdb.fi Git - libs/gui.git/commitdiff
Don't apply user position in fullscreen mode
authorMikko Rasa <tdb@tdb.fi>
Sat, 21 Sep 2019 11:05:53 +0000 (14:05 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 21 Sep 2019 11:06:08 +0000 (14:06 +0300)
source/graphics/x11/window.cpp

index 32744deb0178a3dc5684b1786c298d8cb3281ae1..0b9eacb41187f138153b71674b26b7ebdd0daa41 100644 (file)
@@ -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);
 }