summaryrefslogtreecommitdiff
path: root/src/if_xcmdsrv.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-25 19:03:03 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-25 19:03:03 +0100
commit1e7885abe8daa793fd9328d0fd6c456214cb467e (patch)
treef0b92dfa793099867200c6e6d6119259744c30db /src/if_xcmdsrv.c
parent52c6eaffd43a8c8865f8d6ed7cde0a8b137479e2 (diff)
downloadvim-git-1e7885abe8daa793fd9328d0fd6c456214cb467e.tar.gz
patch 7.4.1655v7.4.1655
Problem: remote_expr() hangs. (Ramel) Solution: Check for messages in the waiting loop.
Diffstat (limited to 'src/if_xcmdsrv.c')
-rw-r--r--src/if_xcmdsrv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index 0b9b1a819..a94e7cd35 100644
--- a/src/if_xcmdsrv.c
+++ b/src/if_xcmdsrv.c
@@ -606,6 +606,7 @@ ServerWait(
{
while (XCheckWindowEvent(dpy, commWindow, PropertyChangeMask, &event))
serverEventProc(dpy, &event, 1);
+ server_parse_messages();
if (endCond(endData) != 0)
break;