[Bug 42547] winex11.drv compilation fails on systems without XInput2 support

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 27 09:11:20 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=42547

Bruno Jesus <00cpxxx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression
    Regression SHA1|                            |448433ae034841b47b79af1c652
                   |                            |c1a7f45d2895f
             Status|UNCONFIRMED                 |NEW
            Summary|error: expected ')' before  |winex11.drv compilation
                   |'*' token                   |fails on systems without
                   |                            |XInput2 support
     Ever confirmed|0                           |1

--- Comment #3 from Bruno Jesus <00cpxxx at gmail.com> ---
It looks like XIAnyClassInfo is a XInput2 only thing. And that your system does
not have XInput2 support. Other related code is protected by
HAVE_X11_EXTENSIONS_XINPUT2_H but not in this case.

A similar error can be seen if a #undef HAVE_X11_EXTENSIONS_XINPUT2_H is added
in mouse.c. I believe this is a regression.

commit 448433ae034841b47b79af1c652c1a7f45d2895f
Author: Carlos Garnacho <carlosg at gnome.org>
Date:   Wed Feb 8 01:50:31 2017 +0100

    winex11: Use XIAllDevices to select for XI_RawMotion.

    Instead of selecting for XI2 events for every slave device individually,
    do it for XIAllDevices, and store the current device's relative X/Y
    valuators so they can be quickly looked up in the XI_RawMotion events
    received.

    Signed-off-by: Carlos Garnacho <carlosg at gnome.org>
    Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list