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 |
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; |