summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-22 15:50:12 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-22 15:50:12 +0200
commitca7e1f2066e3518ee6caeef32e499ab954ec05a3 (patch)
tree0a00bb4f2ed2bc8eac7b4bd1c605492fd48a9e79
parent06b5d5167a01c9fbf9661fb0c03bbd0a77cecae6 (diff)
downloadvim-git-ca7e1f2066e3518ee6caeef32e499ab954ec05a3.tar.gz
Fix: window title not updated after file dropped.
-rw-r--r--runtime/doc/todo.txt1
-rw-r--r--runtime/doc/version7.txt2
-rw-r--r--src/gui.c7
3 files changed, 7 insertions, 3 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index cb88657e7..ff197981d 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1093,6 +1093,7 @@ Patches to include:
- 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 :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
15)
- Win32: patch for better font scaling. (George Reilly, 2009 Mar 26)
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index 609c5e81e..a82bf9e5e 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -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
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:
diff --git a/src/gui.c b/src/gui.c
index 5b1a2ae08..ccf6e39a5 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -2680,16 +2680,14 @@ gui_wait_for_chars(wtime)
{
int retval;
+#ifdef FEAT_MENU
/*
* If we're going to wait a bit, update the menus and mouse shape for the
* current State.
*/
if (wtime != 0)
- {
-#ifdef FEAT_MENU
gui_update_menus(0);
#endif
- }
gui_mch_update();
if (input_available()) /* Got char, return immediately */
@@ -5281,6 +5279,9 @@ gui_handle_drop(x, y, modifiers, fnames, count)
# ifdef FEAT_MENU
gui_update_menus(0);
# endif
+#ifdef FEAT_TITLE
+ maketitle();
+#endif
setcursor();
out_flush();
gui_update_cursor(FALSE, FALSE);