emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.c [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c [lexbind]
Date: Sat, 04 Sep 2004 05:43:57 -0400

Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.735.2.15 emacs/src/xterm.c:1.735.2.16
*** emacs/src/xterm.c:1.735.2.15        Tue Jul  6 10:27:11 2004
--- emacs/src/xterm.c   Sat Sep  4 09:26:27 2004
***************
*** 6174,6180 ****
        f = x_top_window_to_frame (dpyinfo, event.xmap.window);
        if (f)
          {
!           /* wait_reading_process_input will notice this and update
               the frame's display structures.
               If we where iconified, we should not set garbaged,
               because that stops redrawing on Expose events.  This looks
--- 6174,6180 ----
        f = x_top_window_to_frame (dpyinfo, event.xmap.window);
        if (f)
          {
!           /* wait_reading_process_output will notice this and update
               the frame's display structures.
               If we where iconified, we should not set garbaged,
               because that stops redrawing on Expose events.  This looks
***************
*** 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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]