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 [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/xselect.c [emacs-unicode-2]
Date: Wed, 15 Sep 2004 05:23:03 -0400

Index: emacs/src/xselect.c
diff -c emacs/src/xselect.c:1.129.2.3 emacs/src/xselect.c:1.129.2.4
*** emacs/src/xselect.c:1.129.2.3       Fri Aug 27 07:00:34 2004
--- emacs/src/xselect.c Wed Sep 15 09:00:10 2004
***************
*** 744,750 ****
       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;
  }
--- 744,758 ----
       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;
! 
!   /* GTK queues events in addition to the queue in Xlib.  So we
!      UNBLOCK to enter the event loop and get possible errors delivered,
!      and then BLOCK again because x_uncatch_errors requires it.  */
!   BLOCK_INPUT;
    x_uncatch_errors (display, count);
    UNBLOCK_INPUT;
  }




reply via email to

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