Because nestedinput is currently not recognized by Xorg as a suitable core pointer, it will automatically add "<default pointer>", with devpath /dev/input/mice and "mouse" driver, which may interfere with nested virtual pointer device.
Signed-off-by: Laércio de Sousa <laercioso...@sme-mogidascruzes.sp.gov.br> --- src/nested_input.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/nested_input.c b/src/nested_input.c index 1a8ba18..a874930 100644 --- a/src/nested_input.c +++ b/src/nested_input.c @@ -371,6 +371,13 @@ NestedInputLoadDriver(NestedClientPrivatePtr clientData) { // Send the device to the client so that the client can send the // device back to the input driver when events are being posted. NestedClientSetDevicePtr(clientData, dev); + + /* XXX: Find a better way to make Xorg recognize nestedinput + * as the first core pointer. */ + pInfo = xf86LookupInput("<default pointer>"); + + if (pInfo) + DeleteInputDeviceRequest(pInfo->dev); } void -- 2.1.4 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel