]> source.dussan.org Git - tigervnc.git/commitdiff
We need to manually update the RandR timestamp, as it is normally set in
authorPierre Ossman <ossman@cendio.se>
Tue, 17 Jul 2012 13:54:37 +0000 (13:54 +0000)
committerPierre Ossman <ossman@cendio.se>
Tue, 17 Jul 2012 13:54:37 +0000 (13:54 +0000)
the X11 request handlers.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4937 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/XserverDesktop.cc

index 921fd112b17802653bff6ae8db6414ddae577616..2e14bcfcf8231e7af6646e29313b2b4e1fbe2c38 100644 (file)
@@ -1007,6 +1007,13 @@ unsigned int XserverDesktop::setScreenLayout(int fb_width, int fb_height,
     }
   }
 
+  /*
+   * Update timestamp for when screen layout was last changed.
+   * This is normally done in the X11 request handlers, which is
+   * why we have to deal with it manually here.
+   */
+  rp->lastSetTime = currentTime;
+
   return rfb::resultSuccess;
 #endif
 }