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:01:42 -0400

Index: emacs/src/xselect.c
diff -c emacs/src/xselect.c:1.138 emacs/src/xselect.c:1.139
*** emacs/src/xselect.c:1.138   Fri Sep 10 18:04:19 2004
--- emacs/src/xselect.c Fri Sep 10 18:56:29 2004
***************
*** 748,754 ****
--- 748,760 ----
       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;
  }
  
  /* Handle a SelectionRequest event EVENT.




reply via email to

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