From 596122a77d73ea6efd11e29ba1ad2c721c9c5416 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 23 May 1994 20:09:33 +0000 Subject: [PATCH] (window_loop): Fix test of dedicated flag in prev change. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 133229af5f6..89d9305ca33 100644 --- a/src/window.c +++ b/src/window.c @@ -1274,7 +1274,7 @@ window_loop (type, obj, mini, frames) /* If this window is dedicated, and in a frame of its own, kill the frame. */ if (EQ (w, FRAME_ROOT_WINDOW (f)) - && XWINDOW (w)->dedicated + && !NILP (XWINDOW (w)->dedicated) && other_visible_frames (f)) Fdelete_frame (WINDOW_FRAME (XWINDOW (w)), Qnil); else -- 2.39.5