]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/window.cpp
Initial XRandR support
[libs/gui.git] / source / graphics / window.cpp
index 166e49f716fc8f63944015360b8806068ff325b6..256ab2d470ace62169af6c938f42722482f76412 100644 (file)
@@ -86,7 +86,7 @@ void Window::show()
 
        if(options.fullscreen)
        {
-               display.set_mode(VideoMode(options.width, options.height));
+               display.set_mode(VideoMode(options.width, options.height), true);
                warp_pointer(options.width/2, options.height/2);
        }
 }