diff options
-rw-r--r-- | client/application.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/application.cpp b/client/application.cpp index 490cd8ca..3bd3330e 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -647,13 +647,10 @@ RedScreen* Application::get_screen(int id) if (!(screen = _screens[id])) { Monitor* mon = find_monitor(id); - SpicePoint size; + SpicePoint size = {SCREEN_INIT_WIDTH, SCREEN_INIT_HEIGHT}; if (_full_screen && mon) { size = mon->get_size(); - } else { - size.x = SCREEN_INIT_WIDTH; - size.y = SCREEN_INIT_HEIGHT; } screen = _screens[id] = new RedScreen(*this, id, _title, size.x, size.y); #ifdef USE_GUI |