Skip site navigation (1)Skip section navigation (2)
Date:      16 Mar 1995 07:58:01 -0600
From:      kenk@nfshost1.wfg.com (Ken Konecki)
To:        ngaid@pcsdnfs1.eq.gs.com
Cc:        oi-users@freefall.cdrom.com
Subject:   Re: Bringing a window to the top.
Message-ID:  <9503161414.AA02988@deathray.wfg.com>
In-Reply-To: <9503152034.AA02636@pcsdw2.eq.gs.com> (message from David Ngai on Wed, 15 Mar 1995 15:34:16 -0500 (EST))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "ngaid" == David Ngai <ngaid@pcsdnfs1.eq.gs.com> writes:

ngaid> Does anybody know a way to make an obscurred window rise to the
ngaid> top?

XRaiseWindow(obj->display( ), obj->outside_X_window( ));

where obj is any d_tech object.  Be aware, however, that unless the
window has the override_redirect attribute set, the window manager
determines whether the window is actually raised.


ngaid> or to "always" stay on top?

This is really a function of the window manager.  Some window managers
have the ability to specify windows to always stay on top, some don't.
However, you can probably fake it by trapping VisibilityNotify events
and forcing the window to the top unless it is unobscured.  Be aware
however that some users may go ballistic if they have a window they
can't obscure.

--
Ken Konecki
kenk@wfg.com	-or-	...!uunet!wfg!kenk
"One does not seriously attack the expertise of a scientist using the
undefined phrase 'butt-head'"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503161414.AA02988>