← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 575465] Re: unable to use mouse buttons to trigger events in mangler

 

Swapping the order of the test in Xi/listdev.c that determines whether a
device is a pointer or a keyboard properly detects my devices (OEM USB
wireless mouse/kb combo) -- one as a keyboard and one as a pointer.

I have confirmed that querying the device shows the button state for the
pointer device and the X server responds with b->down as expected for
various button states.  libXi receives the button state information
properly as well -- however it doesn't seem to be passed through to the
end application's call to XQueryDeviceState.

I have not finished investigating the cause of that problem, but I have
confirmed that this is either a problem in my code or within libXi.
This simple patch, fixes the detection device type problem and that is
all I could find wrong in Xorg.

** Patch added: "xorg-xi-usb-wireless-mouse-kb.patch"
   http://launchpadlibrarian.net/48092586/xorg-xi-usb-wireless-mouse-kb.patch

-- 
unable to use mouse buttons to trigger events in mangler
https://bugs.launchpad.net/bugs/575465
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.



References