summaryrefslogtreecommitdiffstats
path: root/client/application.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2011-08-21 09:21:50 +0300
committerYonit Halperin <yhalperi@redhat.com>2011-08-25 14:27:24 +0300
commitc5b6bacee17387136f73591857c77184ddff74a7 (patch)
tree9116e558b927ddacf231e772751f66b6800803ea /client/application.h
parent51ac99dbf4b270ab70a78b361cc34ff7077012c8 (diff)
downloadspice-c5b6bacee17387136f73591857c77184ddff74a7.tar.gz
spice-c5b6bacee17387136f73591857c77184ddff74a7.tar.xz
spice-c5b6bacee17387136f73591857c77184ddff74a7.zip
client: setting monitors resolution before resizing screens, RHBZ #728252
fix for "client: fix endless recursion in rearrange_monitors, RHBZ #692976"
Diffstat (limited to 'client/application.h')
-rw-r--r--client/application.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/application.h b/client/application.h
index acb116e7..de344886 100644
--- a/client/application.h
+++ b/client/application.h
@@ -306,10 +306,11 @@ private:
void destroy_monitors();
void assign_monitors();
void restore_monitors();
- void prepare_monitors();
+ void prepare_monitors(std::vector<SpicePoint> *sizes);
void rearrange_monitors(bool force_capture,
bool enter_full_screen,
- RedScreen* screen = NULL);
+ RedScreen* screen = NULL,
+ std::vector<SpicePoint> *sizes = NULL);
void position_screens();
void show_full_screen();
void send_key_down(RedKey key);