[packages/tigervnc] - keep pointer in sync when using module (upstream bug #152)

baggins baggins at pld-linux.org
Sun Aug 3 09:44:55 CEST 2014


commit 5a361116d8896065b714dc67a96c55c019474f54
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Aug 3 09:43:31 2014 +0200

    - keep pointer in sync when using module (upstream bug #152)

 tigervnc-pointersync.patch | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
---
diff --git a/tigervnc-pointersync.patch b/tigervnc-pointersync.patch
new file mode 100644
index 0000000..3ac8f2c
--- /dev/null
+++ b/tigervnc-pointersync.patch
@@ -0,0 +1,25 @@
+diff -up tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc.pointersync tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc
+--- tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc.pointersync	2014-07-14 16:27:49.412251632 +0100
++++ tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc	2014-07-14 16:29:06.968643301 +0100
+@@ -1,5 +1,5 @@
+ /* Copyright (C) 2009 TightVNC Team
+- * Copyright (C) 2009 Red Hat, Inc.
++ * Copyright (C) 2009, 2014 Red Hat, Inc.
+  * Copyright 2013 Pierre Ossman for Cendio AB
+  *
+  * This is free software; you can redistribute it and/or modify
+@@ -202,6 +202,14 @@ void InputDevice::PointerMove(const rfb:
+ 
+ const rfb::Point &InputDevice::getPointerPos(void)
+ {
++	if (pointerDev != NULL) {
++		int x, y;
++
++		GetSpritePosition (pointerDev, &x, &y);
++		cursorPos.x = x;
++		cursorPos.y = y;
++	}
++
+ 	return cursorPos;
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tigervnc.git/commitdiff/6e3b19a379bc4c32377ff07f1f716abe70a9ff35



More information about the pld-cvs-commit mailing list