comparison src/if_xcmdsrv.c @ 8732:29765df3a866 v7.4.1655

commit https://github.com/vim/vim/commit/1e7885abe8daa793fd9328d0fd6c456214cb467e Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 25 19:03:03 2016 +0100 patch 7.4.1655 Problem: remote_expr() hangs. (Ramel) Solution: Check for messages in the waiting loop.
author Christian Brabandt <cb@256bit.org>
date Fri, 25 Mar 2016 19:15:05 +0100
parents bcef391c101c
children 4aead6a9b7a9
comparison
equal deleted inserted replaced
8731:36d95f21f340 8732:29765df3a866
604 time(&start); 604 time(&start);
605 while (TRUE) 605 while (TRUE)
606 { 606 {
607 while (XCheckWindowEvent(dpy, commWindow, PropertyChangeMask, &event)) 607 while (XCheckWindowEvent(dpy, commWindow, PropertyChangeMask, &event))
608 serverEventProc(dpy, &event, 1); 608 serverEventProc(dpy, &event, 1);
609 server_parse_messages();
609 610
610 if (endCond(endData) != 0) 611 if (endCond(endData) != 0)
611 break; 612 break;
612 if (!WindowValid(dpy, w)) 613 if (!WindowValid(dpy, w))
613 break; 614 break;