[Bug 28884] keyboard input does not work properly for Sculptris (GetMessage should remove already seen messages with higher priority)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Mar 14 12:03:43 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=28884
Sebastian Lackner <sebastian at fds-team.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download
Component|-unknown |wineserver
Summary|keyboard input does not |keyboard input does not
|work properly for Sculptris |work properly for Sculptris
| |(GetMessage should remove
| |already seen messages with
| |higher priority)
--- Comment #9 from Sebastian Lackner <sebastian at fds-team.de> ---
Some more small test apps later, and I am sure now what the problem is exactly,
and what the expected behaviour should be. The app relies on the fact that
GetMessage() or PeekMessage(..., PM_REMOVE) removes "already seen" messages
with higher priority than newly added messages.
Example test code which reproduces the same issue with timers:
--- snip ---
SetTimer(hwnd, 1, 0, NULL);
while (!PeekMessage(&msg, NULL, 0, 0, 0)) ;
/* msg.message is now WM_TIMER */
PostMessage(hwnd, WM_USER, 0, 0);
GetMessage(&msg, NULL, 0, 0);
/* msg.message should be WM_TIMER, but it is WM_USER */
--- snip ---
This requires wineserver changes in order to fix it -> setting component
accordingly.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list