X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fwindow.c;h=680c7b822f00b8af7fa753f6e95afe526aeab8b3;hb=a27cb7151367a9f83563c6ac9adf477d4775eff0;hp=bdf77646582db63cc0b2529cd56ff1891b6d4490;hpb=dbf2768f7b146e97e37a27316f70bb313f1acf15;p=chise%2Fxemacs-chise.git- diff --git a/src/window.c b/src/window.c index bdf7764..680c7b8 100644 --- a/src/window.c +++ b/src/window.c @@ -2109,9 +2109,13 @@ will automatically call `save-buffers-kill-emacs'.) else if (!NILP (w->vchild)) delete_all_subwindows (XWINDOW (w->vchild)); + /* Warning: mark_window_as_deleted calls window_unmap_subwindows and + therefore redisplay, so it requires the mirror structure to be + correct. We must dirty the mirror before it is called. */ + f->mirror_dirty = 1; + mark_window_as_deleted (w); - f->mirror_dirty = 1; return Qnil; }