]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/minibuf.c (move_minibuffer_onto_frame): Fix comparison
authorPhilipp Stephani <phst@google.com>
Thu, 5 Nov 2020 20:11:14 +0000 (21:11 +0100)
committerPhilipp Stephani <phst@google.com>
Thu, 5 Nov 2020 20:11:14 +0000 (21:11 +0100)
src/minibuf.c

index ebc00ae4e4e7fbf01974d35b6ca2c2ed9c660f23..068086ead82b219880bd27ff4c8a2cf72de31836 100644 (file)
@@ -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);