Vitaliy Margolen wine-devel@kievinfo.com writes:
On 03/27/2012 08:04 AM, Alexandre Julliard wrote:
Vitaliy Margolenwine-devel@kievinfo.com 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.