Fix silly typo that caused us to mishandle some SetDesktopSize requests.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4976 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc
index 7e068b1..e777bd3 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -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,