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
}
}
+void VNCServerST::setDefaultVideoRect(const Rect& r)
+{
+ m_defaultVideoRect = r;
+}
void setVideoRectangle(const Rect& r);
void unsetVideoRectangle();
+ void setDefaultVideoRect(const Rect& r);
+
protected:
friend class VNCSConnectionST;
bool m_videoSelectionEnabled;
Rect m_videoRect;
+ Rect m_defaultVideoRect;
};
};
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;
}
Display* dpy;
Geometry* geometry;
XPixelBuffer* pb;
- VNCServer* server;
+ VNCServerST* server;
int oldButtonMask;
bool haveXtest;
int maxButtons;