Mercurial > emacs
changeset 28139:fb1a89235280
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 14 Mar 2000 15:19:58 +0000 |
parents | d2e19a90c9ef |
children | 343d3197bdea |
files | src/ChangeLog src/xterm.c |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Tue Mar 14 00:27:57 2000 +0000 +++ b/src/xterm.c Tue Mar 14 15:19:58 2000 +0000 @@ -13181,6 +13181,20 @@ #endif #endif + /* See if we should run in synchronous mode. This is useful + for debugging X code. */ + { + Lisp_Object value; + value = display_x_get_resource (dpyinfo, + build_string ("synchronous"), + build_string ("Synchronous"), + Qnil, Qnil); + if (STRINGP (value) + && (!strcmp (XSTRING (value)->data, "true") + || !strcmp (XSTRING (value)->data, "on"))) + XSynchronize (dpyinfo->display, True); + } + UNBLOCK_INPUT; return dpyinfo;