With "focus follows mouse" activated, this adds a delay before the window under the mouse receives focus.
For example you want to move the mouse cursor from a "Window A" to a "Window C" without activate focus on a "Window B" which is between A and C. With the delay focus option, if you move fast enough, B won't receive focus.
Concrete use: A and B are pictures opened in Gimp, and C is the layer tool window.
Created attachment 1019
My first attempt
Developped from xfwm4-4.4.0 sources it adds :
- a focus delay setting in xfwm4_plugin
- the focus delay behaviour in the event manager
What if the window vanishes before the timeout?
(In reply to comment #2)
> What if the window vanishes before the timeout?
Should generate another enterNotify event that would trigger another focus transition. Needs testing though.
Patch applied to trunk.