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.174 < prev    next >
Encoding:
Internet Message Format  |  2004-01-07  |  2.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.174
  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.174
  11. Problem:    After the ":intro" message only a mouse click in the last line
  12.         gets past the hit-return prompt.
  13. Solution:   Accept a click at or below the hit-return prompt.
  14. Files:        src/gui.c, src/message.c
  15.  
  16.  
  17. *** ../vim-6.2.173/src/gui.c    Sun Oct 26 20:19:23 2003
  18. --- src/gui.c    Tue Jan  6 18:00:47 2004
  19. ***************
  20. *** 2751,2758 ****
  21.       case INSERT+LANGMAP:    checkfor = MOUSE_INSERT;    break;
  22.       case ASKMORE:
  23.       case HITRETURN:        /* At the more- and hit-enter prompt pass the
  24. !                    mouse event for a click on the last line. */
  25. !                 if (Y_2_ROW(y) == Rows - 1)
  26.                       checkfor = MOUSE_NORMAL;
  27.                   else
  28.                       checkfor = MOUSE_RETURN;
  29. --- 2751,2759 ----
  30.       case INSERT+LANGMAP:    checkfor = MOUSE_INSERT;    break;
  31.       case ASKMORE:
  32.       case HITRETURN:        /* At the more- and hit-enter prompt pass the
  33. !                    mouse event for a click on or below the
  34. !                    message line. */
  35. !                 if (Y_2_ROW(y) >= msg_row)
  36.                       checkfor = MOUSE_NORMAL;
  37.                   else
  38.                       checkfor = MOUSE_RETURN;
  39. ***************
  40. *** 4117,4123 ****
  41.   # ifdef FEAT_MOUSESHAPE
  42.       if (State == HITRETURN || State == ASKMORE)
  43.       {
  44. !     if (Y_2_ROW(y) == Rows - 1)
  45.           update_mouseshape(SHAPE_IDX_MOREL);
  46.       else
  47.           update_mouseshape(SHAPE_IDX_MORE);
  48. --- 4118,4124 ----
  49.   # ifdef FEAT_MOUSESHAPE
  50.       if (State == HITRETURN || State == ASKMORE)
  51.       {
  52. !     if (Y_2_ROW(y) >= msg_row)
  53.           update_mouseshape(SHAPE_IDX_MOREL);
  54.       else
  55.           update_mouseshape(SHAPE_IDX_MORE);
  56. *** ../vim-6.2.173/src/message.c    Sat Sep 27 19:36:47 2003
  57. --- src/message.c    Tue Jan  6 18:02:31 2004
  58. ***************
  59. *** 848,854 ****
  60.                   || c == K_RIGHTDRAG  || c == K_RIGHTRELEASE
  61.                   || c == K_MOUSEDOWN  || c == K_MOUSEUP
  62.                   || (!mouse_has(MOUSE_RETURN)
  63. !                     && mouse_row != Rows - 1
  64.                       && (c == K_LEFTMOUSE
  65.                       || c == K_MIDDLEMOUSE
  66.                       || c == K_RIGHTMOUSE
  67. --- 848,854 ----
  68.                   || c == K_RIGHTDRAG  || c == K_RIGHTRELEASE
  69.                   || c == K_MOUSEDOWN  || c == K_MOUSEUP
  70.                   || (!mouse_has(MOUSE_RETURN)
  71. !                     && mouse_row < msg_row
  72.                       && (c == K_LEFTMOUSE
  73.                       || c == K_MIDDLEMOUSE
  74.                       || c == K_RIGHTMOUSE
  75. *** ../vim-6.2.173/src/version.c    Tue Jan  6 16:33:35 2004
  76. --- src/version.c    Thu Jan  8 20:51:27 2004
  77. ***************
  78. *** 639,640 ****
  79. --- 639,642 ----
  80.   {   /* Add new patch number below this line */
  81. + /**/
  82. +     174,
  83.   /**/
  84.  
  85. -- 
  86. hundred-and-one symptoms of being an internet addict:
  87. 197. Your desk collapses under the weight of your computer peripherals.
  88.  
  89.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  90. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  91. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  92.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  93.