Anything wrong with this patch? It does fix the "stuck alt" problem for games I use alt+tab on.
Vitaliy Margolen
Tuesday, February 21, 2006, 10:30:39 PM, Vitaliy Margolen wrote:
ChangeLog: x11drv: One more fix for "stuck" ctrl, shift & alt.
DInput needs scan code with each event - make sure we send one. Also don't loose key state change events in mouse.c
I tested this with Keyboard DInput sample from DXSDK. It clearly showed that we are loosing these events when focus is being changed.
dlls/x11drv/keyboard.c | 10 +++++----- dlls/x11drv/mouse.c | 6 ++++-- dlls/x11drv/x11drv.h | 2 ++ 3 files changed, 11 insertions(+), 7 deletions(-)