diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-01-23 15:54:11 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-01-23 15:54:11 +0000 |
commit | 559a2e8f471edb9142eea892acc101d6fc58f0d6 (patch) | |
tree | 21efcef13a2cb0524019ab4cc0400dc1d9e2f079 /unix/xserver/hw/vnc/XserverDesktop.h | |
parent | 2f4fd6b9203f0ade624ff8500c3a8a8c8711db61 (diff) | |
download | tigervnc-559a2e8f471edb9142eea892acc101d6fc58f0d6.tar.gz tigervnc-559a2e8f471edb9142eea892acc101d6fc58f0d6.zip |
Fix a race condition where we might get updates thrown at us right after a
framebuffer switch, but before we've been given the pointer to the new
framebuffer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4839 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.h')
-rw-r--r-- | unix/xserver/hw/vnc/XserverDesktop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h index 39045835..0aba4ef6 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.h +++ b/unix/xserver/hw/vnc/XserverDesktop.h @@ -61,6 +61,8 @@ public: // methods called from X server code void serverReset(ScreenPtr pScreen); + void blockUpdates(); + void unblockUpdates(); void setFramebuffer(int w, int h, void* fbptr, int stride); void setColormap(ColormapPtr cmap); void setColourMapEntries(ColormapPtr pColormap, int ndef, xColorItem* pdef); |