From: Philipp Stephani Date: Thu, 5 Nov 2020 20:11:14 +0000 (+0100) Subject: * src/minibuf.c (move_minibuffer_onto_frame): Fix comparison X-Git-Tag: emacs-28.0.90~5236 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d0da63f00393c2deaa24feb8ac75ee2de33895e;p=emacs.git * src/minibuf.c (move_minibuffer_onto_frame): Fix comparison --- 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);