ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] comment from Havoc Pennington on startup notification


From: John Meacham
Subject: Re: [RP] comment from Havoc Pennington on startup notification
Date: Tue Apr 29 23:42:08 2003
User-agent: Mutt/1.4i

not quite. this is something different which first appeared on NeXT I
believe and is NOT possible in X11 without startup notification of some
sort. (I wouldn't have noticed it but I started missing it when I was
at an X workstation).  Basically when you start an app, you want it to
take focus UNLESS you started doing something else in the interim.

rudeness lets you set whether you want apps to pop up on top or
underneath, but it is 'global' and doesn't take into account whether you
did something else after starting the app.

what happens with this scheme is: 

a) you start an app, wait.. wait. it pops up and has focus so you
start using it.
b) you start an app, wait.. wait.. get bored focus another xterm and
start typing, when the app starts NOW it starts in the background
because it noticed you started doing something else between asking the
app to start and when it actually started.

this is exactly what one wants most of the time. 

Without startup notification your choices are:
a) wait until it starts, then have to explicitly focus it before using
it.
b) be typing in the xterm when suddenly the app starts and grabs focus
sending your keypresses to the wrong spot.


another way to think of it is that starting the app is the action which
grabs focus. NOT the app finally showing its window. if you have not
explicitly changed focus since starting the app then naturally it will
still have focus when it gets around to mapping it's window, and
conversly if you have changed focus after starting an app then the
window mapping itself shouldn't change that.

there was talk on the Windowmaker list of this a long time ago. of
course back then, there was no startup notification protocol and we
couldn't change toolkits easily so we had to eventually give up the
idea. now it is feasable though.

        John

On Tue, Apr 29, 2003 at 12:13:11AM -0700, Shawn Betts wrote:
> Jonathan Walther <address@hidden> writes:
> 
> > 1) If I start an app, then switch to another window, I don't want to
> > lose focus in my current window when the window of the new app pops up.
> > I'd rather the window opened underneath the current window, and a little
> > message flashed up saying that my window was ready.
> 
> Take a look at the 'rudeness' command. It gives you exactly this.
> 
> Shawn
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Ratpoison-devel mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/ratpoison-devel

-- 
---------------------------------------------------------------------------
John Meacham - California Institute of Technology, Alum. - address@hidden
---------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]