From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Deiconifying GTK frames on GNOME shell Date: Sat, 11 Sep 2021 17:48:01 +0300 Message-ID: <9f81d10e-147b-8521-8d7f-5fb3d03f701d@yandex.ru> References: <87e1a3cb-430d-ff6d-6244-6e20bbdced94@gmx.at> <5b621645-1d03-d102-f40f-02a07e2d9541@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11715"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: martin rudalics , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 11 16:49:01 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mP4JR-0002qq-JX for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Sep 2021 16:49:01 +0200 Original-Received: from localhost ([::1]:51498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP4JQ-0002aQ-FE for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Sep 2021 10:49:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP4Ia-0000s7-MT for emacs-devel@gnu.org; Sat, 11 Sep 2021 10:48:08 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mP4IY-0007vf-VD for emacs-devel@gnu.org; Sat, 11 Sep 2021 10:48:08 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id i23so7147715wrb.2 for ; Sat, 11 Sep 2021 07:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5FJhoa27f4XGniavk9gIYBymUPo+XNM6hfNOfHxsjr8=; b=WdZYJmjIycNWLPNO4B6CRghbolRvHCv0U8u/JdMjzJFIwVxyvrL07zfsQB303ayvwW 81c3/QSzD1YGILFvQPkLGzrha9XU8JiOUZJlKlQLtxm8LVhCha/fllBb2hDDwawr/rBP 597ABxEGZYM5AmJ02y3WLvOwJSxfUVXzYMy0+vAUaIt00SgiDKHcChM4DNXysNARQ+iE aqYqmjNywbUNHsXkCH4VJTKsp0GAP8dCr9qpGvFK5rVknogyldJQ3ksQIa4RsXQGHu4W +AZgvdOMl3DtVtx9xO8A2OLkDYRcm9+4TGmW/657eoC5nO2G2DrBJemYTk7xYXYsqqH4 Kpug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5FJhoa27f4XGniavk9gIYBymUPo+XNM6hfNOfHxsjr8=; b=phXhGukDX6XKhUkEde36/UTMKI1uHcy0Uk0qtinzRpm/86NWMSTsIBEeMrSKQ4yVPu iSGZlgMC4XfDIBuSItBu7zUICy4RfXEh1KirqmhzH+RpRf2jP76+SkcBWwedMqPp9CTn h9RzH9cUaTIeQmBSS1rmjiaT8K2OneQrEoPZGFUEyNiMRW1trUZZ49uAOPwd8+s4sF7x VrXjwRb9DY/sLjHVDLmadPF5It5fIPodWAnC77uAGe99WUBrxKv6oKHnrqnPLJECm9/3 B3xT/ns3AC4yUPw66DVq9mzVDT70WE05Km+N8ZoR398F6/orimGmQKpJHD0TRQNcODwH IK6g== X-Gm-Message-State: AOAM531d6cIrq16SgeUzZM/aTTZvz3z/5IoutWZbTJiX8ijqve9IXBHM Hl2P97lpPESVXRYZ5CkiFBgQ4EJAEZU= X-Google-Smtp-Source: ABdhPJwGvsjImAOJcm4/SWn2U8srmgT3dSRGWLbBTME5guSnSR9/echExYMAvAmKkIH8l4/AeVF3VA== X-Received: by 2002:a5d:608e:: with SMTP id w14mr3480219wrt.18.1631371685387; Sat, 11 Sep 2021 07:48:05 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id s15sm1876674wrb.22.2021.09.11.07.48.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Sep 2021 07:48:04 -0700 (PDT) In-Reply-To: <5b621645-1d03-d102-f40f-02a07e2d9541@gmx.at> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=raaahh@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274549 Archived-At: On 10.09.2021 11:33, martin rudalics wrote: > > If I don't do (1), BTW, I can do (2) twice, and that also makes the > frame visible. > > > > Meaning > > > >    (make-frame-invisible frame) > >    (make-frame-visible frame) > >    (make-frame-invisible frame) > >    (make-frame-visible frame) > > I attach a patch based on this recipe but it causes (occasionally > terrible) flickers on other desktops so I would have to special-case it > on mutter anyway.  I still have no good idea what's really going on > here. The patch seems to work, fixing the scenario above. Thanks. Not sure at which step the flickers are supposed to appear - probably in some more complex scenarios? Perhaps related to the topic of the discussion: I very rarely use multiple frames myself (child frames excepted), but I'm happy to help troubleshoot bugs under GNOME anyway.