X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.cpp;h=658eb26f5aab722c2b1515a4c64c4f6f9334ec73;hb=a0584001d28ae224e0065c3c11b09d7965e78963;hp=8c9d1748a199648b3ae5b1e232c99066399c0882;hpb=ca9f477ac356849471c3a3fbf9584f78aadd6027;p=libs%2Fgui.git diff --git a/source/graphics/window.cpp b/source/graphics/window.cpp index 8c9d174..658eb26 100644 --- a/source/graphics/window.cpp +++ b/source/graphics/window.cpp @@ -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) {