[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c |
Date: |
Tue, 24 Aug 2004 13:42:47 -0400 |
Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.840 emacs/src/xterm.c:1.841
*** emacs/src/xterm.c:1.840 Fri Aug 20 10:34:11 2004
--- emacs/src/xterm.c Tue Aug 24 17:22:33 2004
***************
*** 7604,7614 ****
x_catch_errors_unwind (old_val)
Lisp_Object old_val;
{
! Lisp_Object first;
! first = XCAR (old_val);
!
! XSync (XSAVE_VALUE (first)->pointer, False);
x_error_message_string = XCDR (old_val);
return Qnil;
--- 7604,7616 ----
x_catch_errors_unwind (old_val)
Lisp_Object old_val;
{
! Lisp_Object first = XCAR (old_val);
! Display *dpy = XSAVE_VALUE (first)->pointer;
! /* The display may have been closed before this function is called.
! Check if it is still open before calling XSync. */
! if (x_display_info_for_display (dpy) != 0)
! XSync (dpy, False);
x_error_message_string = XCDR (old_val);
return Qnil;