diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-07-17 13:54:37 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-07-17 13:54:37 +0000 |
commit | 87ecc7c4ee61304d55a5ba105c0eea364ddfe8e0 (patch) | |
tree | 46f9321b838b0b76cdbe8e9e37b54a7c8f554ddc /unix | |
parent | ae3438ce58121afaa31c976accbee871d15b3a26 (diff) | |
download | tigervnc-87ecc7c4ee61304d55a5ba105c0eea364ddfe8e0.tar.gz tigervnc-87ecc7c4ee61304d55a5ba105c0eea364ddfe8e0.zip |
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
Diffstat (limited to 'unix')
-rw-r--r-- | unix/xserver/hw/vnc/XserverDesktop.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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 } |