summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.h
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-08-28 12:04:20 +0000
committerAdam Tkac <atkac@redhat.com>2009-08-28 12:04:20 +0000
commit62de8d75d2611924d2ba04406464f31371b93d97 (patch)
tree6d86b358de26a4a3d1c9dd6a5e837d2daa258fb5 /unix/xserver/hw/vnc/XserverDesktop.h
parenta7c223a2dc036f2ecb2c2045dd96237ca306a7a2 (diff)
downloadtigervnc-62de8d75d2611924d2ba04406464f31371b93d97.tar.gz
tigervnc-62de8d75d2611924d2ba04406464f31371b93d97.zip
Add Input.h and Input.cc and move all mouse input related code there.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3886 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.h')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index 7729d3f2..9f300f53 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -32,6 +32,7 @@
#include <rfb/Configuration.h>
#include <rfb/VNCServerST.h>
#include <rdr/SubstitutingInStream.h>
+#include "Input.h"
extern "C" {
#define class c_class
@@ -68,7 +69,6 @@ public:
void setCursor(CursorPtr cursor);
void add_changed(RegionPtr reg);
void add_copied(RegionPtr dst, int dx, int dy);
- void positionCursor();
void ignoreHooks(bool b) { ignoreHooks_ = b; }
void blockHandler(fd_set* fds);
void wakeupHandler(fd_set* fds, int nfds);
@@ -122,6 +122,7 @@ private:
pointer arg);
void deferUpdate();
ScreenPtr pScreen;
+ PointerDevice *pointerDevice;
OsTimerPtr deferredUpdateTimer, dummyTimer;
rfb::VNCServerST* server;
rfb::HTTPServer* httpServer;
@@ -133,8 +134,6 @@ private:
bool grabbing;
bool ignoreHooks_;
bool directFbptr;
- int oldButtonMask;
- rfb::Point cursorPos, oldCursorPos;
void* queryConnectId;
rfb::CharArray queryConnectAddress;