[Bug 29871] drawing in photoshop cs5 is almost impossible

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 1 17:29:30 CDT 2016


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

--- Comment #61 from Chituc Georgian <dianaxxyyzz at gmail.com> ---
(In reply to artik from comment #60)
> (In reply to Chituc Georgian from comment #59)
> > 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.
> 
> I tried, doesn't work for me, brush still dotted (lastest 1.9.19 git
> version).
> Only https://bugs.winehq.org/show_bug.cgi?id=29871#c48 works for me.

Hello, 
Thank you for testing .
I tested this patch for the wine 1.8.4 , the one taht ships with the latest
cedega version and for me is working perfectly for days .
I had to ajust the value to 5 finaly.
So the line looks like :
----------------
GetTickCount() - key_state_info->time < 5)
-----------------
I 'm only using the stable version of wine cause I use cedega .Maybe usefull
for others . So remember I found the best is to put 5 , in palce of 50.
Have a good day all

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