aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 9515c1ca082..19d2cc54172 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1534,7 +1534,7 @@ set_window_width (window, width, nodelete)
1534 int left, pos, lastright, opos, lastoright; 1534 int left, pos, lastright, opos, lastoright;
1535 Lisp_Object child; 1535 Lisp_Object child;
1536 1536
1537 if (!nodelete && width < window_min_width) 1537 if (!nodelete && width < window_min_width && !NILP (w->parent))
1538 { 1538 {
1539 Fdelete_window (window); 1539 Fdelete_window (window);
1540 return; 1540 return;