summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2012-07-13 10:29:15 +0000
committerPierre Ossman <ossman@cendio.se>2012-07-13 10:29:15 +0000
commit27fa951e1adcdfc53fecf5aa88ac1f77357955ce (patch)
treee5ed687132eed7136441341ae88b9ad38ed1c7c8 /unix/xserver/hw/vnc/XserverDesktop.h
parent1d3be39bcd8ed3b061f2d354454fb7ed0f174b40 (diff)
downloadtigervnc-27fa951e1adcdfc53fecf5aa88ac1f77357955ce.tar.gz
tigervnc-27fa951e1adcdfc53fecf5aa88ac1f77357955ce.zip
Add back support for letting the client reconfigure the screen, this time
with all the RandR 1.2 multi-head goodness. Tested with Xvnc, but should also work with libvnc.so, although it will only work for simpler cases there. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4933 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.h')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index da107bc8..fb247b04 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -128,6 +128,10 @@ public:
private:
void setColourMapEntries(int firstColour, int nColours);
rfb::ScreenSet computeScreenLayout();
+#ifdef RANDR
+ RRModePtr findRandRMode(RROutputPtr output, int width, int height);
+#endif
+
ScreenPtr pScreen;
InputDevice *inputDevice;
rfb::VNCServerST* server;