diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2008-08-21 03:35:08 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2008-08-21 03:35:08 +0000 |
commit | c341ac6973de3ccdc500cc63d7593b9c1631c6c5 (patch) | |
tree | 9d965f6b9bc1f80654b62d11ba9b3d8eb376888f /unix/x0vncserver/x0vncserver.cxx | |
parent | 6d085f11e79f3872a7eed9c3c6829c07a84d8cd2 (diff) | |
download | tigervnc-c341ac6973de3ccdc500cc63d7593b9c1631c6c5.tar.gz tigervnc-c341ac6973de3ccdc500cc63d7593b9c1631c6c5.zip |
Passing VideoArea parameter to VNCServerST object. VNCServerST saves the
rectangle but does not use it yet.
does not do anything more.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2692 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/x0vncserver/x0vncserver.cxx')
-rw-r--r-- | unix/x0vncserver/x0vncserver.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx index a6bae95b..d21e71b1 100644 --- a/unix/x0vncserver/x0vncserver.cxx +++ b/unix/x0vncserver/x0vncserver.cxx @@ -186,8 +186,9 @@ public: pb = new XPixelBuffer(dpy, factory, geometry->getRect(), this); vlog.info("Allocated %s", pb->getImage()->classDesc()); - server = vs; + server = (VNCServerST *)vs; server->setPixelBuffer(pb); + server->setDefaultVideoRect(geometry->getVideoRect()); running = true; } @@ -259,7 +260,7 @@ protected: Display* dpy; Geometry* geometry; XPixelBuffer* pb; - VNCServer* server; + VNCServerST* server; int oldButtonMask; bool haveXtest; int maxButtons; |