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: Po Lu
Subject: bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus
Date: Wed, 08 Feb 2023 09:16:07 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Óscar Fuentes <ofv@wanadoo.es> writes:

> Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
> editors" <bug-gnu-emacs@gnu.org> writes:
>
>> Thanks.  Does this solve the problem?
>>
>> diff --git a/src/xfns.c b/src/xfns.c
>> index 3a129211463..b64ebd0aefd 100644
>> --- a/src/xfns.c
>> +++ b/src/xfns.c
>> @@ -2329,7 +2329,7 @@ x_set_title (struct frame *f, Lisp_Object name, 
>> Lisp_Object old_name)
>>    else
>>      CHECK_STRING (name);
>>  
>> -  x_set_name_internal (f, name);
>> +  x_set_name (f, arg, false);
>
> I replaced `arg' with `name'.
>
>>  }
>
>
> The problem persists.

Hmm.  What if you comment out the call to

  x_set_name_internal (f, name);

entirely?




reply via email to

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