Mercurial > vim
comparison src/if_xcmdsrv.c @ 18642:bbea1f108187 v8.1.2313
patch 8.1.2313: debugging where a delay comes from is not easy
Commit: https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 17 17:06:33 2019 +0100
patch 8.1.2313: debugging where a delay comes from is not easy
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Nov 2019 17:15:04 +0100 |
parents | ce04ebdf26b8 |
children | f0f9692d4487 |
comparison
equal
deleted
inserted
replaced
18641:b288ef9327ac | 18642:bbea1f108187 |
---|---|
554 { | 554 { |
555 time_t start; | 555 time_t start; |
556 time_t now; | 556 time_t now; |
557 XEvent event; | 557 XEvent event; |
558 | 558 |
559 #define UI_MSEC_DELAY 50 | 559 #define UI_MSEC_DELAY 53 |
560 #define SEND_MSEC_POLL 500 | 560 #define SEND_MSEC_POLL 500 |
561 #ifndef HAVE_SELECT | 561 #ifndef HAVE_SELECT |
562 struct pollfd fds; | 562 struct pollfd fds; |
563 | 563 |
564 fds.fd = ConnectionNumber(dpy); | 564 fds.fd = ConnectionNumber(dpy); |