X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fx11%2Fwindow.cpp;h=825c049055db86ff31ae7c099b6cedcfecc82e50;hb=eddae342dd069589319029b48986b14dbbe5165b;hp=32744deb0178a3dc5684b1786c298d8cb3281ae1;hpb=27a621a559aea51eec8b9cdadf58f2074c91a072;p=libs%2Fgui.git diff --git a/source/graphics/x11/window.cpp b/source/graphics/x11/window.cpp index 32744de..825c049 100644 --- a/source/graphics/x11/window.cpp +++ b/source/graphics/x11/window.cpp @@ -60,8 +60,8 @@ void Window::platform_init() { XSizeHints hints; hints.flags = PMinSize|PMaxSize; - hints.min_width=hints.max_width = options.width; - hints.min_height=hints.max_height = options.height; + hints.min_width = hints.max_width = options.width; + hints.min_height = hints.max_height = options.height; XSetWMNormalHints(dpy, priv->window, &hints); } } @@ -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); }