0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

Fix: window title not updated after file dropped.

This commit is contained in:
Bram Moolenaar
2010-05-22 15:50:12 +02:00
parent 06b5d5167a
commit ca7e1f2066
3 changed files with 7 additions and 3 deletions

View File

@@ -1093,6 +1093,7 @@ Patches to include:
- Patch to support netbeans for Mac. (Kazuki Sakamoto, 2009 Jun 25) - Patch to support netbeans for Mac. (Kazuki Sakamoto, 2009 Jun 25)
- Patch to support clipboard for Mac terminal. (Jjgod Jiang, 2009 Aug 1) - Patch to support clipboard for Mac terminal. (Jjgod Jiang, 2009 Aug 1)
- Patch to support :browse for more commands. (Lech Lorens, 2009 Jul 18) - Patch to support :browse for more commands. (Lech Lorens, 2009 Jul 18)
- Patch to improve javascript indenting. (Hari Kumar G, 2010 May 22)
- Patch to add diff functionality to 2html.vim. (Christian Brabandt, 2009 Dec - Patch to add diff functionality to 2html.vim. (Christian Brabandt, 2009 Dec
15) 15)
- Win32: patch for better font scaling. (George Reilly, 2009 Mar 26) - Win32: patch for better font scaling. (George Reilly, 2009 Mar 26)

View File

@@ -7210,5 +7210,7 @@ using GTK floating point numbers stop working. Use gtk_disable_setlocale().
Use BASEMODLIBS instead of MODLIBS for Python configuration to pick up the Use BASEMODLIBS instead of MODLIBS for Python configuration to pick up the
right compiler flags. (Michael Bienia) right compiler flags. (Michael Bienia)
Window title is not updated after dropping a file on Vim. (Hari G)
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl:

View File

@@ -2680,16 +2680,14 @@ gui_wait_for_chars(wtime)
{ {
int retval; int retval;
#ifdef FEAT_MENU
/* /*
* If we're going to wait a bit, update the menus and mouse shape for the * If we're going to wait a bit, update the menus and mouse shape for the
* current State. * current State.
*/ */
if (wtime != 0) if (wtime != 0)
{
#ifdef FEAT_MENU
gui_update_menus(0); gui_update_menus(0);
#endif #endif
}
gui_mch_update(); gui_mch_update();
if (input_available()) /* Got char, return immediately */ if (input_available()) /* Got char, return immediately */
@@ -5280,6 +5278,9 @@ gui_handle_drop(x, y, modifiers, fnames, count)
update_screen(NOT_VALID); update_screen(NOT_VALID);
# ifdef FEAT_MENU # ifdef FEAT_MENU
gui_update_menus(0); gui_update_menus(0);
# endif
#ifdef FEAT_TITLE
maketitle();
#endif #endif
setcursor(); setcursor();
out_flush(); out_flush();