This fixes issues where trying to resize the desktop to a non-yet-existing mode 
will fail for seemingly no reason.
---
 unix/xserver/hw/vnc/XserverDesktop.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc 
b/unix/xserver/hw/vnc/XserverDesktop.cc
index 5fc32c3..0e50173 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -764,7 +764,7 @@ unsigned int XserverDesktop::setScreenLayout(int fb_width, 
int fb_height,
 #if XORG == 15
   ret = RRGetInfo(pScreen);
 #else
-  ret = RRGetInfo(pScreen, FALSE);
+  ret = RRGetInfo(pScreen, TRUE);
 #endif
   if (!ret)
     return resultNoResources;
-- 
1.7.9.2

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to