From 5d0da63f00393c2deaa24feb8ac75ee2de33895e Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Thu, 5 Nov 2020 21:11:14 +0100 Subject: [PATCH] * src/minibuf.c (move_minibuffer_onto_frame): Fix comparison --- src/minibuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minibuf.c b/src/minibuf.c index ebc00ae4e4e..068086ead82 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -142,7 +142,7 @@ void move_minibuffer_onto_frame (void) set_window_buffer (sf->minibuffer_window, buffer, 0, 0); minibuf_window = sf->minibuffer_window; - if (XWINDOW (minibuf_window)->frame == selected_frame) + if (EQ (XWINDOW (minibuf_window)->frame, selected_frame)) /* The minibuffer might be on another frame. */ Fset_frame_selected_window (selected_frame, sf->minibuffer_window, Qnil); -- 2.39.2