home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.0.257
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- MIME-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.0.257
- Problem: Win32: When 'mousefocus' is set and there is a BufRead
- autocommand, after the dialog for permissions changed outside of
- Vim: 'mousefocus' stops working. (Robert Webb)
- Solution: Reset need_mouse_correct after checking timestamps.
- Files: src/fileio.c
-
-
- *** ../vim60.256/src/fileio.c Thu Feb 21 17:27:24 2002
- --- src/fileio.c Thu Feb 21 21:43:19 2002
- ***************
- *** 5260,5265 ****
- --- 5268,5279 ----
- curbuf = save_curbuf;
- #endif
- }
- +
- + #ifdef FEAT_GUI
- + /* reset this in case an autocommand has set it; it would break
- + * 'mousefocus' */
- + need_mouse_correct = FALSE;
- + #endif
-
- return retval;
- }
- *** ../vim60.256/src/version.c Thu Feb 21 21:20:00 2002
- --- src/version.c Thu Feb 21 21:48:00 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 257,
- /**/
-
- --
- For society, it's probably a good thing that engineers value function over
- appearance. For example, you wouldn't want engineers to build nuclear power
- plants that only _look_ like they would keep all the radiation inside.
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
- \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
- \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
-