Status of xsetmode & xsetpointer (was: [PATCH xsetmode] Remove dead code the-l option)
Alan Coopersmith
alan.coopersmith at oracle.com
Sat Jul 13 10:12:43 PDT 2013
On 07/ 9/13 09:17 PM, Peter Hutterer wrote:
> On Tue, Jul 09, 2013 at 10:41:42AM +0200, Thomas Klausner wrote:
>> On Mon, Jul 08, 2013 at 11:53:56PM -0700, Alan Coopersmith wrote:
>>> Dead code in a dead program. Pushed, though like xsetpointer, it's
>>> not had a release since X11R7.0.
>>>
>>> Hopefully no distros are still shipping these - it only takes 5 minutes
>>> to publish a release if there's need, but if no one has done that since
>>> 2005, it's hard to claim there's demand for it.
>>
>> We still have it in pkgsrc. If you give me a good reason I can remove
>> it. Like: what is the replacement, or why is it completely unneeded.
>
> xsetmode still works on devices that support multiple mode, the hooks are
> still there so functionally there's nothing wrong with it. xinput has
> replaced it though, you get the same with
> xinput --set-mode "device name" ABSOLUTE
> since xinput is actively maintained, I recommend using that instead.
>
> xsetpointer sets an input device as the core pointer. This dates back to
> when an extension device could not be a core device at the same time and is
> obsolete since server 1.4 (2006 or so I think). the request always fails
> now (96e32805d12fc36f0fa0926dbfb0dd8a5cadb739).
> xinput set-pointer is the equiv xsetpointer, but still doesn't do anything,
> that app is truly dead.
Thanks - I've pushed changes to both their READMEs to record those explanations,
and to the Xorg MAINTAINERS file, so I don't need to keep asking you to explain
and so that others will see it when they look.
http://cgit.freedesktop.org/xorg/app/xsetmode/commit/?id=62d6775725efa06fe8c504b28b3a614598e67c5c
http://cgit.freedesktop.org/xorg/app/xsetpointer/commit/?id=6381322888dce7b200045c17641d7266111ad75f
http://cgit.freedesktop.org/xorg/doc/xorg-docs/commit/MAINTAINERS?id=0aa1894228cc8d0477db7b44bb266d210e4f8d10
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list