mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-29 09:43:56 -07:00
Remove excessive synchronization from x_sync_with_move
* src/xterm.c (x_sync_with_move): Remove redundant XSync. The X server always handles requests in order.
This commit is contained in:
parent
9ad5421a62
commit
f720630195
1 changed files with 3 additions and 5 deletions
|
|
@ -25055,11 +25055,9 @@ x_sync_with_move (struct frame *f, int left, int top, bool fuzzy)
|
|||
current_left = 0;
|
||||
current_top = 0;
|
||||
|
||||
/* In theory, this call to XSync only needs to happen once, but in
|
||||
practice, it doesn't seem to work, hence the need for the surrounding
|
||||
loop. */
|
||||
|
||||
XSync (FRAME_X_DISPLAY (f), False);
|
||||
/* There is no need to call XSync (even when no window manager
|
||||
is present) because x_real_positions already does that
|
||||
implicitly. */
|
||||
x_real_positions (f, ¤t_left, ¤t_top);
|
||||
|
||||
if (fuzzy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue