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

Vitaliy Margolen wine-devel at kievinfo.com
Tue Mar 27 08:45:14 CDT 2012


On 03/27/2012 02:29 AM, Alexandre Julliard wrote:
> Vitaliy Margolen<wine-devel at kievinfo.com>  writes:
>
> If you have suggestions on how to do this differently please explain
> them.

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.

This can also apply to keyboard events for dinput as well. They main issue 
here is that you need a thread not directly attached to any window pulling 
all X's events. Dinput already have one such thread. You just need to let it 
talk to X.

Vitaliy.



More information about the wine-devel mailing list