1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From: Fredrik Rinnestam <fredrik@obra.se>
Date: Wed, 19 Sep 2007 21:24:13 +0000 (+0200)
Subject: Bug #12145: Don't confine the pointer to one screen in zaphod mode.
X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/driver/xf86-input-mouse.git;a=commitdiff;h=f42ea3027c13046dfa7a603737b476fbf2833764
Bug #12145: Don't confine the pointer to one screen in zaphod mode.
Fix ported from evdev's b4a5a20476f7bc77d54a860d7cdd81c223bdb81f.
---
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -1740,10 +1740,10 @@ MouseProc(DeviceIntPtr device, int what)
);
/* X valuator */
- xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1);
+ xf86InitValuatorAxisStruct(device, 0, -1, -1, 1, 0, 1);
xf86InitValuatorDefaults(device, 0);
/* Y valuator */
- xf86InitValuatorAxisStruct(device, 1, 0, -1, 1, 0, 1);
+ xf86InitValuatorAxisStruct(device, 1, -1, -1, 1, 0, 1);
xf86InitValuatorDefaults(device, 1);
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
xf86MotionHistoryAllocate(pInfo);
|