[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
- Deiconifying GTK frames on GNOME shell, martin rudalics, 2021/09/05
- Re: Deiconifying GTK frames on GNOME shell, Colin Baxter, 2021/09/05
- Re: Deiconifying GTK frames on GNOME shell, Dmitry Gutov, 2021/09/05
- Re: Deiconifying GTK frames on GNOME shell, martin rudalics, 2021/09/06
- Re: Deiconifying GTK frames on GNOME shell, Dmitry Gutov, 2021/09/06
- Re: Deiconifying GTK frames on GNOME shell, martin rudalics, 2021/09/07
- Re: Deiconifying GTK frames on GNOME shell, Madhu, 2021/09/09
- Re: Deiconifying GTK frames on GNOME shell,
martin rudalics <=
- Re: Deiconifying GTK frames on GNOME shell, Madhu, 2021/09/10
- Re: Deiconifying GTK frames on GNOME shell, martin rudalics, 2021/09/11
- Re: Deiconifying GTK frames on GNOME shell, martin rudalics, 2021/09/10
- Re: Deiconifying GTK frames on GNOME shell, Dmitry Gutov, 2021/09/11
- Re: Deiconifying GTK frames on GNOME shell, martin rudalics, 2021/09/11