summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-04-03 12:40:01 +0000
committerPierre Ossman <ossman@cendio.se>2009-04-03 12:40:01 +0000
commitd2e8f54dc203d61069f6c6959d246a8b0c5fabd1 (patch)
treeb51eb7e521a0ed271b95260b2c7c0a8867d5c3be /unix/xserver/hw/vnc/XserverDesktop.h
parente34390b8f76c5b5ab6d16df2e3283f89c9a77b96 (diff)
downloadtigervnc-d2e8f54dc203d61069f6c6959d246a8b0c5fabd1.tar.gz
tigervnc-d2e8f54dc203d61069f6c6959d246a8b0c5fabd1.zip
Avoid touching PixelFormat internals.
We forgot to update the internal variables with the previous version which caused problems with some clients (first noticed with gtk-vnc). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3746 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.h')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index 8eecb6b3..6777f092 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -62,7 +62,8 @@ public:
XserverDesktop(ScreenPtr pScreen, network::TcpListener* listener,
network::TcpListener* httpListener_,
- const char* name, void* fbptr, int stride);
+ const char* name, const rfb::PixelFormat &pf,
+ void* fbptr, int stride);
virtual ~XserverDesktop();
// methods called from X server code