summaryrefslogtreecommitdiff
path: root/src/gui.c
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 /src/gui.c
parent06b5d5167a01c9fbf9661fb0c03bbd0a77cecae6 (diff)
downloadvim-ca7e1f2066e3518ee6caeef32e499ab954ec05a3.zip
Fix: window title not updated after file dropped.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c7
1 files changed, 4 insertions, 3 deletions
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);