Revision: 4976
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4976&view=rev
Author:   ossman_
Date:     2012-08-27 13:02:47 +0000 (Mon, 27 Aug 2012)
Log Message:
-----------
Fix silly typo that caused us to mishandle some SetDesktopSize requests.

Modified Paths:
--------------
    trunk/unix/xserver/hw/vnc/XserverDesktop.cc

Modified: trunk/unix/xserver/hw/vnc/XserverDesktop.cc
===================================================================
--- trunk/unix/xserver/hw/vnc/XserverDesktop.cc 2012-08-27 08:12:47 UTC (rev 
4975)
+++ trunk/unix/xserver/hw/vnc/XserverDesktop.cc 2012-08-27 13:02:47 UTC (rev 
4976)
@@ -886,7 +886,7 @@
   }
 
   /* First we might need to resize the screen */
-  if ((fb_width != pScreen->width) || (fb_height == pScreen->height)) {
+  if ((fb_width != pScreen->width) || (fb_height != pScreen->height)) {
     /* Try to retain DPI when we resize */
     ret = RRScreenSizeSet(pScreen, fb_width, fb_height,
                           pScreen->mmWidth * fb_width / pScreen->width,

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to