From 87ecc7c4ee61304d55a5ba105c0eea364ddfe8e0 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 17 Jul 2012 13:54:37 +0000 Subject: [PATCH] We need to manually update the RandR timestamp, as it is normally set in 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index 921fd112..2e14bcfc 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -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 } -- 2.39.5