Mercurial > emacs
comparison src/xfns.c @ 5536:f900f7bba4c2
(x_sync): New function.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 09 Jan 1994 15:20:21 +0000 |
parents | 87c67c389867 |
children | 42ec75481b8b |
comparison
equal
deleted
inserted
replaced
5535:85ae0f534b7b | 5536:f900f7bba4c2 |
---|---|
3722 XSynchronize (x_current_display, !EQ (on, Qnil)); | 3722 XSynchronize (x_current_display, !EQ (on, Qnil)); |
3723 | 3723 |
3724 return Qnil; | 3724 return Qnil; |
3725 } | 3725 } |
3726 | 3726 |
3727 /* Wait for responses to all X commands issued so far for FRAME. */ | |
3728 | |
3729 void | |
3730 x_sync (frame) | |
3731 Lisp_Object frame; | |
3732 { | |
3733 XSync (x_current_display, False); | |
3734 } | |
3727 | 3735 |
3728 syms_of_xfns () | 3736 syms_of_xfns () |
3729 { | 3737 { |
3730 /* This is zero if not using X windows. */ | 3738 /* This is zero if not using X windows. */ |
3731 x_current_display = 0; | 3739 x_current_display = 0; |