-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Frederik Nnaji wrote on 21/06/10 16:44:
>...
>> Greg K Nicholson wrote on 29/05/10 02:05:
>>>
>>> I suggest that if you haven't had time to focus another window (i.e.
>>> if you haven't started doing something else), focus the new window.
>>> If you've focused another window, the new window should open in the
>>> background.
>>
>> So how do you define "started doing something else"?
>
> Something else is mouse and/or keyboard activity in an other
> application.
So how do you define "activity"?
If the mouse button is actually *down*, or a keyboard key is actually
*pressed*, when a window from another application requests a raise, it
should not be raised. That much is obvious (and seems to be a bug in
current Metacity).
But what if you released the mouse button, or the keyboard key, 0.1
seconds before the other window requests the raise? You're quite likely
to be in the middle of a double-click or of typing a word. So the window
shouldn't be raised then either.
Ok, so what if you released the mouse button, or the keyboard key, 0.5
seconds before the other window requests the raise? The same applies,
just a bit less certainly.
So, we've gone as far as ignoring raise requests 0.5 seconds after the
last release event. But what about one whole second after? Two seconds?
Three? Five? Ten?