From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Best way to temporarily raise a frame Date: Tue, 12 Dec 2017 17:18:11 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513117112 6822 195.159.176.226 (12 Dec 2017 22:18:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 22:18:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 23:18:29 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOssd-0001VT-8B for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 23:18:27 +0100 Original-Received: from localhost ([::1]:60757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOssk-0004yG-IW for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 17:18:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOsse-0004y9-4F for emacs-devel@gnu.org; Tue, 12 Dec 2017 17:18:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOssa-0002SY-Vf for emacs-devel@gnu.org; Tue, 12 Dec 2017 17:18:28 -0500 Original-Received: from [195.159.176.226] (port=45179 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOssa-0002Qx-OA for emacs-devel@gnu.org; Tue, 12 Dec 2017 17:18:24 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eOssQ-0000tr-30 for emacs-devel@gnu.org; Tue, 12 Dec 2017 23:18:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:gUmPw0bPc1OKbeZXKeZD80bLtJM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220972 Archived-At: > I would like to temporarily raise a frame to the top of the frame stack, > sit for two seconds and then place it back where it was in the stack under > Emacs 26. Under X11 you can presumably set some window property (I'm talking WM window and property, not Emacs window) to change an X11 stacking (this is used typically to make it temporarily fullscreen). But I don't think there's any guarantee that it will go back to the same spot in the stack afterwards (it should return to the same zone in the stack, where the stack is divided into various zones, where fullscreen is at the very top, and background is at the other end). So I think the current X11 situation doesn't let you do what you want exactly, tho it might come "close enough". It's probably easier (and more portable) to use another frame (which is displayed "at the top" and then hidden/destroyed). Stefan