Re: Emacs into focus
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Emacs into focus         

Group: gnu.emacs.help · Group Profile
Author: Andrea Vettorello
Date: Aug 7, 2008 10:33

On Thu, Aug 7, 2008 at 4:33 PM, Richard G Riley gmail.com> wrote:
> "Andrea Vettorello" gmail.com> writes:
>
>> On Thu, Aug 7, 2008 at 7:36 AM, Richard G Riley 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
no comments
diggit! del.icio.us! reddit!