emacs-devel
[Top][All Lists]
Advanced

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

Re: Deiconifying GTK frames on GNOME shell


From: martin rudalics
Subject: Re: Deiconifying GTK frames on GNOME shell
Date: Fri, 10 Sep 2021 10:34:17 +0200

> [I thought I posted this workaround that I've been using at least since

... when? ...

> - either on a bugreport or in a message to you - but I can't spot it in
> my XMAIL]

Have we been discussing this issue before?  Have you (or anyone else)
filed a report against it?  No pointers anywhere?

> (defadvice make-frame-visible (around mutter-workaround (&optional frame) 
activate)
>    (if (or (eql (frame-parameter frame 'visibility) 'icon)
>       (eql (frame-parameter frame 'visibility) nil))
>        (set-frame-parameter frame 'visibility nil))
>    ad-do-it)

This works here for making the frame visible again.  It fails for
`raise-frame' and `select-frame-set-input-focus' but I think it should
be possible to fix these with similar advices too.

I don't understand yet how this x_make_frame_visible_invisible stuff is
supposed to work in the first place and I haven't even found the commit
that introduced it yet.  Maybe it got fixed or broken during

https://lists.gnu.org/r/emacs-devel/2018-03/msg00863.html

so there should be also a timeout around somewhere.

IIUC this could be a serious issue with frame switching on mutter so
maybe either other people use a workaround like yours or they use a
version of mutter where this problem doesn't happen.

martin



reply via email to

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