unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andrea Vettorello" <andrea.vettorello@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs into focus
Date: Thu, 7 Aug 2008 19:33:23 +0200	[thread overview]
Message-ID: <7d5440240808071033y2bd4587k441a8030a161be09@mail.gmail.com> (raw)
In-Reply-To: <g7f13p$5qi$1@registered.motzarella.org>

On Thu, Aug 7, 2008 at 4:33 PM, Richard G Riley <rileyrgdev@gmail.com> wrote:
> "Andrea Vettorello" <andrea.vettorello@gmail.com> writes:
>
>> On Thu, Aug 7, 2008 at 7:36 AM, Richard G Riley <rileyrgdev@gmail.com> wrote:

[...]
.
>>
>> Metacity, the default Gnome window manager, tries to "avoid focus
>> stealing" (I think this blog post explains its behaviour:
>> http://blogs.gnome.org/metacity/2007/12/24/stacking/ ), IIRC there
>> should be a gconf setting to tweak it but I'm not completely sure as I
>> don't use it...
>
> The thing is that other email clients come to the fg just
> fine via the mailto click. I'll dig around some more and maybe ask in
> the gtk+ irc channel.
>

In one of comments of the post I linked it's suggested to set
_NET_WM_USER_TIME and use _NET_ACTIVE_WINDOW to raise and give focus
to a window from a different application (Client).

I think it could be done using x-send-client-message or maybe
implemented directly on emacs-client itself.


-- 
Andrea




  reply	other threads:[~2008-08-07 17:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07  5:36 Emacs into focus Richard G Riley
2008-08-07  9:16 ` Tim X
2008-08-07  9:41 ` Joost Kremers
2008-08-07 11:01 ` Andrea Vettorello
2008-08-07 11:52 ` Chris Giroir
     [not found] ` <mailman.15986.1218106891.18990.help-gnu-emacs@gnu.org>
2008-08-07 14:33   ` Richard G Riley
2008-08-07 17:33     ` Andrea Vettorello [this message]
     [not found] ` <mailman.15993.1218120233.18990.help-gnu-emacs@gnu.org>
2008-08-07 14:53   ` Richard G Riley
2008-08-07 21:47     ` Bruce Stephens
2008-08-08  4:33       ` Tim X
2008-08-08  1:31 ` Ian Swainson
2008-08-09 22:08 ` Richard G Riley

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=7d5440240808071033y2bd4587k441a8030a161be09@mail.gmail.com \
    --to=andrea.vettorello@gmail.com \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).