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

Diff of /emacs/src/xterm.c

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

revision 1.804.2.12 by miles, Tue Jul 6 02:57:15 2004 UTC revision 1.804.2.13 by miles, Fri Aug 27 07:00:34 2004 UTC
# Line 6180  handle_one_xevent (dpyinfo, eventp, fini Line 6180  handle_one_xevent (dpyinfo, eventp, fini
6180        f = x_top_window_to_frame (dpyinfo, event.xmap.window);        f = x_top_window_to_frame (dpyinfo, event.xmap.window);
6181        if (f)        if (f)
6182          {          {
6183            /* wait_reading_process_input will notice this and update            /* wait_reading_process_output will notice this and update
6184               the frame's display structures.               the frame's display structures.
6185               If we where iconified, we should not set garbaged,               If we where iconified, we should not set garbaged,
6186               because that stops redrawing on Expose events.  This looks               because that stops redrawing on Expose events.  This looks
# Line 7611  static Lisp_Object Line 7611  static Lisp_Object
7611  x_catch_errors_unwind (old_val)  x_catch_errors_unwind (old_val)
7612       Lisp_Object old_val;       Lisp_Object old_val;
7613  {  {
7614    Lisp_Object first;    Lisp_Object first = XCAR (old_val);
7615      Display *dpy = XSAVE_VALUE (first)->pointer;
7616    
7617    first = XCAR (old_val);    /* The display may have been closed before this function is called.
7618         Check if it is still open before calling XSync.  */
7619    XSync (XSAVE_VALUE (first)->pointer, False);    if (x_display_info_for_display (dpy) != 0)
7620        XSync (dpy, False);
7621    
7622    x_error_message_string = XCDR (old_val);    x_error_message_string = XCDR (old_val);
7623    return Qnil;    return Qnil;

Legend:
Removed from v.1.804.2.12  
changed lines
  Added in v.1.804.2.13

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