* xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s.

This commit is contained in:
Dmitry Antipov 2014-07-30 08:03:45 +04:00
parent 173a45a089
commit 609fc791b8
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@
* xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly
necessary, put horizontal scroll bar resources as well. See
<http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00430.html>.
* xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s.
2014-07-29 Dmitry Antipov <dmantipov@yandex.ru>

View file

@ -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);
}