all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Best way to temporarily raise a frame
Date: Tue, 12 Dec 2017 17:18:11 -0500	[thread overview]
Message-ID: <jwvzi6nppdf.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: CA+OMD9j8DLbJn-mfLE3_5zi=GRhqZAyx9FCCd0YG61pe9H_KYw@mail.gmail.com

> 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




  reply	other threads:[~2017-12-12 22:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 22:00 Best way to temporarily raise a frame Robert Weiner
2017-12-12 22:18 ` Stefan Monnier [this message]
2017-12-12 23:30   ` Robert Weiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzi6nppdf.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.