On Sun, May 16, 2010 at 11:42:59AM +0200, Andreas Falkenhahn wrote:
> Hi,
> 
> is it possible to open a window without it automatically becoming active?
> I see that there are two different calls to map a window: XMapWindow() and
> XMapRaised(). However, both calls open the window and make it active. Can
> I change this behaviour? I'd like to open a window and prevent it from
> taking away user focus.

That's really the responsibility of the window manager. Maybe you can
set certain window properties or WM hints to prevent the WM from
giving focus to the new window. Check out EWMH[0].

Cheers,
harry

[0] http://www.freedesktop.org/wiki/Specifications/wm-spec
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to