xfwm: Auto-focus on window creation ? :)

Danny danny.milo at gmx.net
Wed May 21 22:01:15 CEST 2003


Hi!

I've been thinking about this for some time now ^^

I usually have set "auto focus for a new window" in xfwm.

If I have a program that takes a while to start, I will do other things
in the mean time. Most of the time involving some typing...

As I am typing, somewhen the other program is finished loading and pops
up, eating the remainder of the keys I typed (because it got the focus
while I meant the other-previous- window).

So I thought what about checking if there was any keyboard input in the
last few secs, and if so, then don't focus new window, else do focus the
new window...

This is not perfect, but it would help ;)

Then again, I could drop the habit of doing something else while waiting
for programs to load ^^

hmmmmm :)

cheers,
   Danny





More information about the Xfce4-dev mailing list