From: Dmitry Antipov Date: Wed, 30 Jul 2014 04:03:45 +0000 (+0400) Subject: * xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s. X-Git-Tag: emacs-25.0.90~2636^3~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=609fc791b884bd6986cbe50b5a697ed1fe1f697c;p=emacs.git * xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s. --- diff --git a/src/ChangeLog b/src/ChangeLog index 510b2a836ce..b5c9e6d6b30 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -3,6 +3,7 @@ * xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly necessary, put horizontal scroll bar resources as well. See . + * xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s. 2014-07-29 Dmitry Antipov diff --git a/src/xterm.c b/src/xterm.c index b4eba7fcf82..e35d63c785f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -9351,7 +9351,7 @@ x_sync_with_move (struct frame *f, int left, int top, int fuzzy) if (eabs (current_left - left) <= 10 && eabs (current_top - top) <= 40) return; - } + } else if (current_left == left && current_top == top) return; } @@ -9359,7 +9359,7 @@ x_sync_with_move (struct frame *f, int left, int top, int fuzzy) /* As a last resort, just wait 0.5 seconds and hope that XGetGeometry will then return up-to-date position info. */ - wait_reading_process_output (0, 500000, 0, 0, Qnil, NULL, 0); + wait_reading_process_output (0, 500000000, 0, 0, Qnil, NULL, 0); }