xsetpointer deprecated?

Peter Hutterer peter.hutterer at who-t.net
Sun Jan 4 16:53:19 PST 2009


On Fri, Jan 02, 2009 at 12:32:52PM +0100, Philipp Kerling wrote:
> the xorg utility xsetpointer reports that it is deprecated for XInput
> versions >= 1.4. It still works fine even in newer ones. What exactly
> has been deprecated and what functions should be used instead?

xsetpointer changes options on the core pointer device. since 1.4, the core
pointer device is just a virtual device, with all physical devices hanging off
it. it is recommended that the physical devices are configured one-by-one
instead (try the "xinput" tool).

the problem with xsetpointer is simply that because it only knows about the
core pointer, it forces the core pointer configuration onto all other devices,
overwriting a per-device configuration.

Cheers,
  Peter



More information about the xorg mailing list