From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#57012: Activating versus raising frames Date: Fri, 05 Aug 2022 20:54:38 -0400 Message-ID: <18270a59cb0.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="18270a5a073531928293629b0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36169"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: AquaMail/1.38.0 (build: 103800177) To: 57012@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 06 02:55:52 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oK86Y-0009Ds-QP for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Aug 2022 02:55:51 +0200 Original-Received: from localhost ([::1]:53080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oK86X-00068F-Og for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 20:55:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oK85n-000674-8r for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 20:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oK85m-00023V-V3 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 20:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oK85m-0001Uj-Qg for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 20:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Aug 2022 00:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57012 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.16597472925709 (code B ref -1); Sat, 06 Aug 2022 00:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Aug 2022 00:54:52 +0000 Original-Received: from localhost ([127.0.0.1]:60762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oK85c-0001U1-Ip for submit@debbugs.gnu.org; Fri, 05 Aug 2022 20:54:52 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oK85Y-0001Tr-H7 for submit@debbugs.gnu.org; Fri, 05 Aug 2022 20:54:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oK85Y-00066Y-CN for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 20:54:48 -0400 Original-Received: from dancol.org ([2600:3c01:e000:3d8::1]:42290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oK85W-00022w-5W for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 20:54:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:MIME-Version:Subject:Message-ID:Date:To:From:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=p19dI9TvQjPlO5UStNo6icW2Ic4VeUufRO9VbwRIWkA=; b=NpRWvlsq/ZdQ+TV6PL1uZljjk3 TLJNu3YtPzyoCSK4mYLdYmUIfSboingZAdsPK7rDOUfnpKIX95O8OHObpCeRqXSKmwulJEGplv/Xm dfaCzjiRA77F/ZEMas6tgJ3Qb5Ow0MSyRwOf9RNz4ndhWKMaSKxEfcqMdmpMaEcSqAmfxQqo482Vt 1Ha5rwTFLhy+z4iWnraK4tpui1w4xED4pxSRQtUO5wnAnltSkudMoyBhn/3HVUoCuTYVP2uFZVyMM 2Ch3NPtIAUpzQARP6d+M0/iDiJQLPwAaAxSIuTTPii60t9kRAnMtoott4HoSOIz/V8hl5ePbgBeig M9uvhJSw==; Original-Received: from 29.sub-174-212-35.myvzw.com ([174.212.35.29]:8804 helo=[100.107.184.123]) by dancol.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1oK85P-00041t-3Z for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 17:54:41 -0700 Received-SPF: pass client-ip=2600:3c01:e000:3d8::1; envelope-from=dancol@dancol.org; helo=dancol.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238950 Archived-At: This is a multi-part message in MIME format. --18270a5a073531928293629b0 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit I noticed that raising an Emacs frame (latest master) with emacsclient does nothing under current Cinnamon. Emacs gains focus, but the focused window isn't raised. I can reproduce the problem with xdotool's windowraise command, which similarly did nothing. xdotool windowactivate works though, so I'm guessing the EWMH activate code in xterm.c would similarly do the trick. Emacs used to use EWMH activate on frame raise but stopped in 2007 to work around deadlocks in a version of metacity in use at the time. Can we once again activate Emacs frames on raise? --18270a5a073531928293629b0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I noticed that raising an Emacs frame (latest master) with emacsclient does= nothing under current Cinnamon. Emacs gains focus, but the focused window = isn't raised.

I can reproduce = the problem with xdotool's windowraise command, which similarly did nothing= . xdotool windowactivate works though, so I'm guessing the EWMH activate co= de in xterm.c would similarly do the trick. Emacs used to use EWMH activate= on frame raise but stopped in 2007 to work around deadlocks in a version o= f metacity in use at the time. Can we once again activate Emacs frames on r= aise?
--18270a5a073531928293629b0--