[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 12:48:01 +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:
>
>> What if you do this?
>>
>> My suspicion is that the icon name is now being set to reflect that the
>> frame has been iconified, and KWin (wrongly) treats that as an attempt
>> to focus the frame.
>>
>> diff --git a/src/xterm.c b/src/xterm.c
>> index 1325d923be9..fcac6bc044f 100644
>> --- a/src/xterm.c
>> +++ b/src/xterm.c
>> @@ -25584,6 +25584,8 @@ x_text_icon (struct frame *f, const char *icon_name)
>> if (FRAME_X_WINDOW (f) == 0)
>> return true;
>>
>> + return;
>> +
>> {
>> XTextProperty text;
>> text.value = (unsigned char *) icon_name;
>
> Same. GCC warned about missing return value, so then I tried `false' and
> finally `true'. No change.
Would you please run:
xprop -spy
in a separate terminal emulator window, click on the Emacs frame, switch
to xterm, the other desktop, and back again, and then tell me what xprop
prints?
Thank you.
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Oscar Fuentes, 2023/02/07
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Po Lu, 2023/02/07
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Óscar Fuentes, 2023/02/07
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Po Lu, 2023/02/07
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Óscar Fuentes, 2023/02/07
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Po Lu, 2023/02/07
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Óscar Fuentes, 2023/02/07
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus,
Po Lu <=
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Óscar Fuentes, 2023/02/08
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Po Lu, 2023/02/08
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Óscar Fuentes, 2023/02/08
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Po Lu, 2023/02/09
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Eli Zaretskii, 2023/02/09
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Po Lu, 2023/02/09
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Eli Zaretskii, 2023/02/09
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Po Lu, 2023/02/09
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Óscar Fuentes, 2023/02/09
- bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus, Eli Zaretskii, 2023/02/09