]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/window.cpp
Only set resizing flag to true in Window::reconfigure
[libs/gui.git] / source / graphics / window.cpp
index 8c9d1748a199648b3ae5b1e232c99066399c0882..658eb26f5aab722c2b1515a4c64c4f6f9334ec73 100644 (file)
@@ -60,7 +60,8 @@ Window::~Window()
 void Window::reconfigure(const WindowOptions &opts)
 {
        bool fullscreen_changed = (opts.fullscreen!=options.fullscreen);
-       resizing = (opts.width!=options.width || opts.height!=options.height);
+       if(opts.width!=options.width || opts.height!=options.height)
+               resizing = true;
 
        if(visible)
        {