Re: [4/7] kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputW.
Hi Andrew, I think the test should be enhanced by checking the information about mouse position it seems that windows coalesce two mouse messages, but does it also occur when the position is different (a cursory look seems to indicate that you resend the same coordinate for mouse move) I'd expect coalesce operation to happen only if coordinates are the same A+ 2011/1/11 Andrew Nguyen <anguyen(a)codeweavers.com>
--- dlls/kernel32/tests/console.c | 165 +++++++++++++++++++++++++++++++++++++++-- 1 files changed, 159 insertions(+), 6 deletions(-)
-- -- Eric Pouech
On 01/11/2011 05:39 AM, Eric Pouech wrote:
Hi Andrew,
I think the test should be enhanced by checking the information about mouse position it seems that windows coalesce two mouse messages, but does it also occur when the position is different (a cursory look seems to indicate that you resend the same coordinate for mouse move) I'd expect coalesce operation to happen only if coordinates are the same
A+
A quick test suggests that changing the mouse event coordinates doesn't prevent the coalescing behavior. I think I'll have to examine whether changing other MOUSE_EVENT_RECORD fields results in different queuing behavior, so I figure that I'll send a later patch with additional tests.
participants (2)
-
Andrew Nguyen -
Eric Pouech