client: Application::get_screen: fix double SpicePoint size, second hiding the first

This commit is contained in:
Alon Levy 2010-07-29 12:44:49 +03:00
parent 1b0ab2027e
commit 01c06d6eaa

View File

@ -650,7 +650,7 @@ RedScreen* Application::get_screen(int id)
SpicePoint size;
if (_full_screen && mon) {
SpicePoint size = mon->get_size();
size = mon->get_size();
} else {
size.x = SCREEN_INIT_WIDTH;
size.y = SCREEN_INIT_HEIGHT;