summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2015-02-02 17:15:17 +0100
committerSimon Rettberg2015-02-02 17:15:17 +0100
commit571c10c49f3b3046bb40245d2d44861706819f16 (patch)
treedd5fa0b914428946f24df1b3e89b6f98da910eae /src/main.cpp
parentMake window move to z-order bottom at startup (diff)
downloadvmchooser2-571c10c49f3b3046bb40245d2d44861706819f16.tar.gz
vmchooser2-571c10c49f3b3046bb40245d2d44861706819f16.tar.xz
vmchooser2-571c10c49f3b3046bb40245d2d44861706819f16.zip
Resize window on resolution change
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bc8d508..b3dbce1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -231,6 +231,7 @@ int main(int argc, char *argv[]) {
if (size == "fullscreen") {
width = desktopRect.width();
height = desktopRect.height();
+ _fullscreen = true;
}
w.resize(width, height);