From: Vincent Starre <thebitman@at...> - 2002-11-15 06:07:24
Had an idea for a window-raising option that might make things less annoying
at times. An option "Dont raise a window to the front if I'm typing", could
Have the WM keep track of when the last 10 keystrokes were, if they were
spaced close together and didnt seem to stop abruptly, dont bring the window
up. Having a timeout doesnt work out well, so having it instead keep track of
the last 10 keystrokes which were spaced close together, then noting if a
time significantly greater than the average time between those keystrokes has
passed, that could work out.
This one's for anybody who was ever touch-typing his password into a terminal
when an IM window popped up.
The alternative, so no windows are "lost", is to raise the window but not
give it focus if a person is typing.
Get latest updates about Open Source Projects, Conferences and News.