winex11.drv: Do not trash existing clip rectangle if XInput2 is not available.

Alexandre Julliard julliard at
Tue Mar 27 09:47:49 CDT 2012

Vitaliy Margolen <wine-devel at> writes:

> On 03/27/2012 08:04 AM, Alexandre Julliard wrote:
>> Vitaliy Margolen<wine-devel at>  writes:
>>> Dinput needs to talk to x11drv directly to get xi2 events. Same for
>>> requests to clip cursor in exclusive mode. The current method of using
>>> hooks can stay for backwards compatibility.
>> I'm not at all convinced that this would be an improvement, particularly
>> since you still need the events to follow the normal path for apps that
>> don't use dinput.
> In exclusive mode dinput consumes those events - they should not be
> making it to the actual application. So it's not a problem there. In
> background mode they are duplicated - again not an issue.

The point is that we need to send the events to the server and to the
hooks anyway, so dinput might as well get them from there instead of
having its own back channel.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list