home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.2.361 < prev    next >
Encoding:
Internet Message Format  |  2004-03-14  |  2.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.361 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.361 (extra)
  11. Problem:    Win32: Run gvim, ":set go-=m", use Alt-Tab, keep Alt pressed while
  12.         pressing Esc, then release Alt: Cursor disappears and typing a key
  13.         causes a beep. (Hari Krishna Dara)
  14. Solution:   Don't ignore the WM_SYSKEYUP event when the menu is disabled.
  15. Files:        src/gui_w32.c
  16.  
  17.  
  18. *** ../vim-6.2.360/src/gui_w32.c    Sun Mar 14 14:37:09 2004
  19. --- src/gui_w32.c    Mon Mar 15 17:18:17 2004
  20. ***************
  21. *** 661,674 ****
  22.   
  23.       case WM_SYSKEYUP:
  24.   #ifdef FEAT_MENU
  25. !     /* Only when menu is active, ALT key is used for that. */
  26. !     if (gui.menu_is_active)
  27. !     {
  28. !         return DefWindowProc(hwnd, uMsg, wParam, lParam);
  29. !     }
  30. !     else
  31.   #endif
  32. -         return 0;
  33.   
  34.       case WM_SIZING:    /* HANDLE_MSG doesn't seem to handle this one */
  35.       return _DuringSizing(hwnd, (UINT)wParam, (LPRECT)lParam);
  36. --- 661,674 ----
  37.   
  38.       case WM_SYSKEYUP:
  39.   #ifdef FEAT_MENU
  40. !     /* Thus used to be done only when menu is active: ALT key is used for
  41. !      * that.  But that caused problems when menu is disabled and using
  42. !      * Alt-Tab-Esc: get into a strange state where no mouse-moved events
  43. !      * are received, mouse pointer remains hidden. */
  44. !     return DefWindowProc(hwnd, uMsg, wParam, lParam);
  45. ! #else
  46. !     return 0;
  47.   #endif
  48.   
  49.       case WM_SIZING:    /* HANDLE_MSG doesn't seem to handle this one */
  50.       return _DuringSizing(hwnd, (UINT)wParam, (LPRECT)lParam);
  51. *** ../vim-6.2.360/src/version.c    Mon Mar 15 12:44:12 2004
  52. --- src/version.c    Mon Mar 15 17:16:45 2004
  53. ***************
  54. *** 639,640 ****
  55. --- 639,642 ----
  56.   {   /* Add new patch number below this line */
  57. + /**/
  58. +     361,
  59.   /**/
  60.  
  61. -- 
  62. Apparently, 1 in 5 people in the world are Chinese.  And there are 5
  63. people in my family, so it must be one of them.  It's either my mum
  64. or my dad.  Or my older brother Colin.  Or my younger brother
  65. Ho-Cha-Chu.  But I think it's Colin.
  66.  
  67.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  68. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  69. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  70.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  71.