summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-07-29 12:44:49 +0300
committerAlon Levy <alevy@redhat.com>2010-07-29 13:22:54 +0300
commit01c06d6eaaab01a493567210e3b9dec333ea1e0d (patch)
treea3d8be77e7177b8063b1e09ad8266f8734148e5e
parent1b0ab2027e1e38bddbbe8bb57bf04c3409a096a5 (diff)
client: Application::get_screen: fix double SpicePoint size, second hiding the first
-rw-r--r--client/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/application.cpp b/client/application.cpp
index e986475..3dafbc6 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -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;