From owner-oi-users Thu Mar 16 05:23:25 1995 Return-Path: oi-users-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA08760 for oi-users-outgoing; Thu, 16 Mar 1995 05:23:25 -0800 Received: from jpmorgan.jpmorgan.com (jpmorgan.jpmorgan.com [146.149.99.127]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id FAA08754 for ; Thu, 16 Mar 1995 05:23:22 -0800 Received: from tcpg01a.ny.jpmorgan.com by jpmorgan.jpmorgan.com (8.6.10/fma-120691.2); id IAA09464; Thu, 16 Mar 1995 08:23:18 -0500 Received: from newton.ny.jpmorgan.com (newton.ny.jpmorgan.com [146.149.2.33]) by tcpg01a.ny.jpmorgan.com (8.6.10/cjy.sub.1.0) with ESMTP id IAA15847 Received: from landau.ny.jpmorgan.com (landau.ny.jpmorgan.com [146.149.3.22]) by newton.ny.jpmorgan.com (8.6.9/8.6.9) with SMTP id IAA29781; Thu, 16 Mar 1995 08:23:16 -0500 Received: by landau.ny.jpmorgan.com (4.1/SMI-4.1) id AA12419; Thu, 16 Mar 95 08:23:14 EST Message-Id: <9503161323.AA12419@landau.ny.jpmorgan.com> To: Warner Losh Cc: David Ngai , oi-users@freefall.cdrom.com Subject: Re: Bringing a window to the top. In-Reply-To: Your message of "Wed, 15 Mar 1995 16:32:16 MST." <199503152332.QAA04570@marvin.boulder.openware.com> Date: Thu, 16 Mar 1995 08:23:13 -0500 From: Tom LaStrange Sender: oi-users-owner@FreeBSD.org Precedence: bulk > : Does anybody know a way to make an obscurred window > : rise to the top? > : > : or to "always" stay on top? > > Well, in general, you don't want to do this because you are fighting > with the window manager. > > However, if you want to pick that fight, here's how :-) Basically, > you put a visibility notify on the outside X window, and when it > becomes obscured, you raise that window. This is from a program I > wrote where 'top' is an override redirect window (think toolbar menu), > but it should work with non-override redirect windows as well. Hope you never get two of these windows up where one obscures the other... -- Tom LaStrange toml@mercury.com toml@jpmorgan.com (on assignment at) Mercury Technologies, Inc. 53 Wall St. NYC, NY 10005