bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focu


From: Óscar Fuentes
Subject: bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus
Date: Thu, 09 Feb 2023 04:17:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

> If you set `icon-title-format' to the same as `frame-title-format', and
> in addition apply this patch:
>
> diff --git a/src/xfns.c b/src/xfns.c
> index 3a129211463..7f1128399a8 100644
> --- a/src/xfns.c
> +++ b/src/xfns.c
> @@ -2317,7 +2317,7 @@ x_implicitly_set_name (struct frame *f, Lisp_Object 
> arg, Lisp_Object oldval)
>  x_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name)
>  {
>    /* Don't change the title if it's already NAME.  */
> -  if (EQ (name, f->title))
> +  if (Fstring_equal (name, f->title))
>      return;
>  
>    update_mode_lines = 38;
>
> does the problem go away?

Yes!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]