emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/xselect.c
Date: Fri, 10 Sep 2004 15:56:02 -0400

Index: emacs/src/xselect.c
diff -c emacs/src/xselect.c:1.137 emacs/src/xselect.c:1.138
*** emacs/src/xselect.c:1.137   Fri Aug 20 10:34:12 2004
--- emacs/src/xselect.c Fri Sep 10 18:04:19 2004
***************
*** 744,752 ****
       refering to the deleted window, and we'll get a BadWindow error
       in XTread_socket when processing the events.  I don't have
       an idea how to fix that.  gerd, 2001-01-98.   */
!   XFlush (display);
!   x_uncatch_errors (display, count);
    UNBLOCK_INPUT;
  }
  
  /* Handle a SelectionRequest event EVENT.
--- 744,754 ----
       refering to the deleted window, and we'll get a BadWindow error
       in XTread_socket when processing the events.  I don't have
       an idea how to fix that.  gerd, 2001-01-98.   */
!   /* 2004-09-10: XSync and UNBLOCK so that possible protocol errors are
!      delivered before uncatch errors.  */
!   XSync (display, False);
    UNBLOCK_INPUT;
+   x_uncatch_errors (display, count);
  }
  
  /* Handle a SelectionRequest event EVENT.




reply via email to

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