SHARE
TWEET

Patch for wine 1.7.29 to make brushes draw properly

a guest Oct 28th, 2014 377 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -aur a/dlls/user32/input.c b/dlls/user32/input.c
  2. --- a/dlls/user32/input.c       2014-10-17 14:01:42.000000000 +0200
  3. +++ b/dlls/user32/input.c       2014-10-27 18:08:37.133439438 +0100
  4. @@ -377,13 +377,26 @@
  5.  
  6.      if ((ret = USER_Driver->pGetAsyncKeyState( key )) == -1)
  7.      {
  8. +      
  9. +        /* Commenting this out to make Photoshop brush draw */
  10. +/*
  11.          if (thread_info->key_state &&
  12.              !(thread_info->key_state[key] & 0xc0) &&
  13.              GetTickCount() - thread_info->key_state_time < 50)
  14.              return 0;
  15. +*/
  16.  
  17.          if (!thread_info->key_state) thread_info->key_state = HeapAlloc( GetProcessHeap(), 0, 256 );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top