John Klehm : winex11: Add support for IsXExtensionPointer tablet devices.

Michael Stefaniuc mstefani at redhat.com
Fri Apr 25 09:40:31 CDT 2008


This patch break compilation on my RHEL5 box with 
xorg-x11-proto-devel-7.1-9.fc6 which misses the IsXExtensionPointer define.

bye
	michael

Alexandre Julliard wrote:
> Module: wine
> Branch: master
> Commit: 2c26ea609d6b2b8a25be20984c0014ceb202466a
> URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2c26ea609d6b2b8a25be20984c0014ceb202466a
> 
> Author: John Klehm <xixsimplicityxix at gmail.com>
> Date:   Tue Apr 22 20:11:28 2008 -0500
> 
> winex11: Add support for IsXExtensionPointer tablet devices.
> 
> ---
> 
>  dlls/winex11.drv/wintab.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/dlls/winex11.drv/wintab.c b/dlls/winex11.drv/wintab.c
> index 37596ba..b086e44 100644
> --- a/dlls/winex11.drv/wintab.c
> +++ b/dlls/winex11.drv/wintab.c
> @@ -530,14 +530,15 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
>                  devices[loop].use == IsXKeyboard ? "IsXKeyboard" :
>                      devices[loop].use == IsXPointer ? "IsXPointer" :
>                      devices[loop].use == IsXExtensionDevice ? "IsXExtensionDevice" :
> +                    devices[loop].use == IsXExtensionPointer ? "IsXExtensionPointer" :
>                      "Unknown"
>                  );
>  
> -        if (devices[loop].use == IsXExtensionDevice)
> +        if ((devices[loop].use == IsXExtensionDevice) || (devices[loop].use == IsXExtensionPointer))
>          {
>              LPWTI_CURSORS_INFO cursor;
>  
> -            TRACE("Is Extension Device\n");
> +            TRACE("Is XExtension%s\n", (devices[loop].use == IsXExtensionDevice)? "Device":"Pointer");
>              cursor_target++;
>              target = &devices[loop];
>              cursor = &gSysCursor[cursor_target];
> 
> 
> 


-- 
Michael Stefaniuc                           Tel.: +49-711-96437-199
Consulting Communications Engineer          Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei Muenchen
Handelsregister: Amtsgericht Muenchen HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
                  Werner Knoblich



More information about the wine-devel mailing list