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: Wed, 08 Feb 2023 05:15:23 +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:

> 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.





reply via email to

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