/[emacs]/emacs/src/xselect.c
ViewVC logotype

Diff of /emacs/src/xselect.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.129.2.3 by miles, Fri Aug 27 07:00:34 2004 UTC revision 1.129.2.4 by miles, Wed Sep 15 09:00:10 2004 UTC
# Line 744  x_reply_selection_request (event, format Line 744  x_reply_selection_request (event, format
744       refering to the deleted window, and we'll get a BadWindow error       refering to the deleted window, and we'll get a BadWindow error
745       in XTread_socket when processing the events.  I don't have       in XTread_socket when processing the events.  I don't have
746       an idea how to fix that.  gerd, 2001-01-98.   */       an idea how to fix that.  gerd, 2001-01-98.   */
747    XFlush (display);    /* 2004-09-10: XSync and UNBLOCK so that possible protocol errors are
748         delivered before uncatch errors.  */
749      XSync (display, False);
750      UNBLOCK_INPUT;
751    
752      /* GTK queues events in addition to the queue in Xlib.  So we
753         UNBLOCK to enter the event loop and get possible errors delivered,
754         and then BLOCK again because x_uncatch_errors requires it.  */
755      BLOCK_INPUT;
756    x_uncatch_errors (display, count);    x_uncatch_errors (display, count);
757    UNBLOCK_INPUT;    UNBLOCK_INPUT;
758  }  }

Legend:
Removed from v.1.129.2.3  
changed lines
  Added in v.1.129.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26