Subject: Re: bug#34317: 26.1.90; Wrong unbinding order in x_consider_frame_title

From: martin rudalics <[email-masked]>
Date: Sun, 24 Feb 2019 19:30:42 +0100

> I cannot imagine that was on purpose.

OK.

 > But your proposed change fixes that, so I'm unsure why you said it
 > won't work OOTB.  What did I miss?

Because I encountered problems in another context but do not remember
the details.  All I can tell is that here I additionally had to install
the attached.

martin
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1477,7 +1477,9 @@ static int read_key_sequence (Lisp_Object *, Lisp_Object,
 
       /* If displaying a message, resize the echo area window to fit
 	 that message's size exactly.  */
-      if (!NILP (echo_area_buffer[0]))
+      if (!NILP (echo_area_buffer[0])
+	  && (EQ (echo_area_window,
+		  FRAME_MINIBUF_WINDOW (XFRAME (selected_frame)))))
 	resize_echo_area_exactly ();
 
       /* If there are warnings waiting, process them.  */