- 19 Apr, 2014 1 commit
-
-
Michael Thayer authored
In MousePickProtocol() with protocol PROT_AUTO we probe for the protocol to use but drop the result in most cases. This was causing DEVICE_INIT and DEVICE_ON to fail to be called with the VUID protocol. Git history suggests that this code was originally meant to cover both PS/2 auto-detection and OS- specific detection, but that only the first case was implemented at the time. Now that only the second is needed dropping the result to keep the protocol as PROT_AUTO is presumably no longer useful and seems to actively breaking things. Signed-off-by:
Michael Thayer <michael.thayer@oracle.com> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 30 Mar, 2014 4 commits
-
-
Thomas Klausner authored
From Pierre Pronchery <khorben@NetBSD.org> and review comments by Daniel Stone <daniel@fooishbar.org>. Reviewed-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Thomas Klausner <wiz@NetBSD.org>
-
Thomas Klausner authored
With a multiplexed device like wsmouse it does not make sense to kill emulate3buttons on the first button-3-pressed event. The button-3 pressed may belong to a mouse long gone and leave the internal (two button only) mousepad useless. Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> From Martin Husemann <martin@NetBSD.org> Signed-off-by:
Thomas Klausner <wiz@NetBSD.org>
-
Thomas Klausner authored
This makes sure that the xserver and the mouse speak the same protocol version. Acked-by:
Alan Coopersmith <alan.coopersmith@oracle.com> From Matthew R. Green <mrg@NetBSD.org> Signed-off-by:
Thomas Klausner <wiz@NetBSD.org>
-
Thomas Klausner authored
Otherwise we can't find WSMouse. Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> From Matthew R. Green <mrg@NetBSD.org> Signed-off-by:
Thomas Klausner <wiz@NetBSD.org>
-
- 05 Jan, 2014 1 commit
-
-
Patrik Jakobsson authored
As required by the following commit: commit 8c75f6e1 Use asprintf (or Xprintf on old servers) instead of strdup+sprintf Signed-off-by:
Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 03 Nov, 2013 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 20 Oct, 2013 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 27 Mar, 2013 1 commit
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 16 Jan, 2013 2 commits
-
-
Colin Walters authored
http://people.gnome.org/~walters/docs/build-api.txtSigned-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
- 08 Oct, 2012 1 commit
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@ubuntu.com>
-
- 17 Aug, 2012 1 commit
-
-
Peter Hutterer authored
pInfo->atom was removed in xorg-server-1.9.0-26-g9802cca Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 30 Jul, 2012 5 commits
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Alan Coopersmith authored
sun_mouse.c: In function 'vuidRemoveMouse': sun_mouse.c:150:42: warning: declaration of 'time' shadows a global declaration Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Other input drivers already shipping pkgconfig files use this naming scheme and since the 1.8 release didn't install the file anyway, renaming is still acceptable at this point. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Peter Hutterer authored
pnp.c: In function 'probePs2ProtocolPnP': pnp.c:711:31: warning: declaration of 'seq' shadows a previous local [-Wshadow] pnp.c:705:23: warning: shadowed declaration is here [-Wshadow] mouse.c: In function 'MouseCommonOptions': mouse.c:330:13: warning: declaration of 'i' shadows a previous local [-Wshadow] mouse.c:279:9: warning: shadowed declaration is here [-Wshadow] mouse.c: In function 'autoProbeMouse': mouse.c:3602:29: warning: declaration of 'proto' shadows a global declaration [-Wshadow] mouse.c:2482:22: warning: shadowed declaration is here [-Wshadow] Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 27 Jul, 2012 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 26 Jul, 2012 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 25 Jul, 2012 1 commit
-
-
Alan Coopersmith authored
Not all of the button label settings were wrapped in ABI #ifdefs, so just drop all #ifdefs for GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 7 Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-
- 01 May, 2012 6 commits
-
-
Alan Coopersmith authored
Existing code had a mix of places tab & space characters were used. Make them all spaces for consistency, since that's the new style chosen for xorg-server. "git diff -w" shows no changes - this is pure whitespace adjustment. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
cleanup done via: perl -p -i -e 's/[\t ]*$//' "git diff -w" shows no changes - this is pure whitespace adjustment. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Based on evdev's similar properties, including using the name "middle" button, to avoid confusion with evdev's 3rd button emulation for emulating the right button on a single button mouse. Allows manual enable & disable at runtime. Exports new xf86-mouse.pc & xf86-mouse-properties.h for property name definitions. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Alexandr Shadchin <alexandr.shadchin@gmail.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Alexandr Shadchin <alexandr.shadchin@gmail.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Alexandr Shadchin <alexandr.shadchin@gmail.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Alan Coopersmith authored
Previously they checked pInfo->options, then fell back to pInfo->conf_idev->commonOptions - but then 7bf22a36 replaced the latter with the former, resulting in some redunancy. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Alexandr Shadchin <alexandr.shadchin@gmail.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 16 Mar, 2012 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 23 Dec, 2011 2 commits
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 06 Dec, 2011 1 commit
-
-
Alan Coopersmith authored
Error: Null pointer dereference (CWE 476) Read from null pointer 'GetProtocol(proto)' at line 3477 of src/mouse.c in function 'autoProbeMouse'. Function 'GetProtocol' may return constant 'NULL' at line 736, called at line 3477. Null pointer introduced at line 736 in function 'GetProtocol'. We already handle one of the two cases that make GetProtocol return NULL, proto == PROTO_UNKNOWN, but not PROT_UNSUP. [ This bug was found by the Parfait 0.4.2 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Alexandr Shadchin <alexandr.shadchin@gmail.com>
-
- 21 Aug, 2011 1 commit
-
-
Alexandr Shadchin authored
Add call xf86CollectInputOptions() before using pInfo->options. The bug is seeing by ABI < 12. Signed-off-by:
Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by:
Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 28 Jul, 2011 2 commits
-
-
Alan Coopersmith authored
Fixes regression caused by commit b12fa0d5 in which devices with protocol "Auto" (generally just PS/2 devices on Solaris, since HAL sets protocol "VUID" for USB devices already) weren't going through vuidMousePreInit and setting up the device_control & read_input pointers to the routines which know how to decode VUID packets. Adds a check to vuidPreInit to ensure we don't leak memory if called twice for the same device, just in case I missed a code path, or a new one appears in the future. Fixes Solaris bug 7070321: Mouse protocol "Auto" does not work in build 170 Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Alan Coopersmith authored
Appending NULL to an existing options list simply walks the entire existing list before returning it unchanged, so if we aren't creating a new list to merge, don't bother merging it either. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 18 Jul, 2011 1 commit
-
-
Terry Lambert authored
Signed-off-by:
Terry Lambert <tlambert@chromium.org> Reviewed-by:
Stephane Marchesin <marcheu@chromium.org> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 05 Jul, 2011 1 commit
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- 26 Jun, 2011 1 commit
-
-
Alan Coopersmith authored
Based on BSD changes in commit a22879c6 by Alexandr Shadchin Fix segfaults when mouse device fails to open. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 30 Mar, 2011 1 commit
-
-
Samuel Thibault authored
Commit 7bf22a36 (Use pInfo->options instead of conf-idev.) updated the xf86CollectInputOptions call into keeping previous options (for ABI before 12). The hurd mouse driver also needs to be updated.
-
- 29 Mar, 2011 1 commit
-
-
Samuel Thibault authored
Fix regression introduced by 0a088df6: in the case of an OS-specific protocol, the protocol is PROT_UNKNOWN, but should not be rejected: the core mouse drive just needs to let the OS driver handle it. Signed-off-by:
Samuel Thibault <samuel.thibault@ens-lyon.org>
-
- 09 Mar, 2011 1 commit
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-