[Bug 29871] drawing in photoshop cs5 is almost impossible

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 1 03:18:19 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=29871

Chituc Georgian <dianaxxyyzz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dianaxxyyzz at gmail.com

--- Comment #59 from Chituc Georgian <dianaxxyyzz at gmail.com> ---
Open /dlls/user32/input.c

Find :
------------
        if (key_state_info &&
            !(key_state_info->state[key] & 0xc0) &&
            key_state_info->counter == counter &&
            GetTickCount() - key_state_info->time < 50)
        {
            /* use cached value */
            return 0;
        }
        else if (!key_state_info)
-----------------

and put a lower value than 50 for the line: 
GetTickCount() - key_state_info->time < 50)  
I put 10 so for me all is fine. Looks like this :
------------------------
        if (key_state_info &&
            !(key_state_info->state[key] & 0xc0) &&
            key_state_info->counter == counter &&
            GetTickCount() - key_state_info->time < 10)
        {
            /* use cached value */
            return 0;
        }
        else if (!key_state_info)
-------------------------
I tested in debug mode and he is using the cached value too and all is working
good for me.

-- 
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