aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-05-23 20:09:33 +0000
committerRichard M. Stallman <[email protected]>1994-05-23 20:09:33 +0000
commit596122a77d73ea6efd11e29ba1ad2c721c9c5416 (patch)
treee9596cba6a5530c766f236c38f86eb1845ed43e2 /src/window.c
parente3998da17a69530b9b59cf1d1d86395a2eb7ad5d (diff)
(window_loop): Fix test of dedicated flag in prev change.
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 133229af5f..89d9305ca3 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