[comp.windows.x] Autoraise: who should do it?

dave@romano.cs.wisc.edu (Dave Cohrs) (05/13/88)

Given that some people liked the autoraise feature in the X10
xterm, including myself, at least on occasion, I was thinking
about putting this back in X11.

The thing is, who should do an autoraise?  Should the application,
like xterm do it, or should uwm, or your other favorite window
manager do it?

What do y'all think?

--
Dave Cohrs
+1 608 262-6617                        UW-Madison Computer Sciences Department
dave@cs.wisc.edu                 ...!{harvard,ihnp4,rutgers,ucbvax}!uwvax!dave

price@DECWRL.DEC.COM.UUCP (05/13/88)

Dave Cohrs asks:

> The thing is, who should do an autoraise?

The current wisdom says that you should follow the 
Interclient Communication Conventions (IC3). If you just try to do it
yourself inside xterm, your friendly window manager (which
follows the IC3) will quite likely block the request,  resulting
in something other than what you probably wanted.

You can find the proposed IC3 document in the R2 distribution.
(And you can thank David Rosenthal for authoring it).

-chuck

dana@dino.bellcore.com (Dana A. Chee) (05/23/88)

In article <5735@spool.cs.wisc.edu> dave@romano.UUCP writes:

   Given that some people liked the autoraise feature in the X10
   xterm, including myself, at least on occasion, I was thinking
   about putting this back in X11.

   The thing is, who should do an autoraise?  Should the application,
   like xterm do it, or should uwm, or your other favorite window
   manager do it?

   What do y'all think?

   --
   Dave Cohrs
   +1 608 262-6617                        UW-Madison Computer Sciences Department
   dave@cs.wisc.edu                 ...!{harvard,ihnp4,rutgers,ucbvax}!uwvax!dave

I think that the window managers should do it (and two newly released
window managers (awm and twm) do just that.  That way, all programs,
not just xterm, can take advantage of the autoraise feature.

--
			Dana Chee
			Bellcore
			MRE 2Q-250
			(201) 829-4488
			dana@bellcore.com