]> code.delx.au - gnu-emacs/blobdiff - src/window.c
Merge branch 'master' into xwidget
[gnu-emacs] / src / window.c
index 2f44bf78304b5da98cf7f0dad1bf2021ea425ce9..b4230100150af067984f30f1ffcfdd7c467742b7 100644 (file)
@@ -44,6 +44,9 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #ifdef MSDOS
 #include "msdos.h"
 #endif
+#ifdef HAVE_XWIDGETS
+#include "xwidget.h"
+#endif
 
 static int displayed_window_lines (struct window *);
 static int count_windows (struct window *);
@@ -4559,6 +4562,9 @@ Signal an error when WINDOW is the only window on its frame.  */)
 
       /* Block input.  */
       block_input ();
+#ifdef HAVE_XWIDGETS
+      xwidget_view_delete_all_in_window(w);
+#endif
       window_resize_apply (p, horflag);
       /* If this window is referred to by the dpyinfo's mouse
         highlight, invalidate that slot to be safe (Bug#9904).  */