Open davidsu-citylitics opened 1 month ago
I double checked the code. Lets say you set a delay of 3. Then if within 3 time ticks the mouse moves, another 3 ticks must pass before raising. If however the mouse moves again within those last 3 time ticks, yet another 3 ticks must pass. And so on. In other words: as long as the mouse moves, the window won't be raised. If you combine this with a focusDelay setting of 1, then this should give you the ideal behavior.
It seems like given the
delay
, the window will raise after thedelay
I found this a bit counter intuitive - I could have accidentally hovered over a window without intention to raise. But if the delay meant it would ignore my mouse for X ms but still focuses (given no focus delay), then its the best of both worlds:
Can now quickly focus and interact without raising -- but hover longer (delay as threshold) when committing to a raise
Hopefully this resonates with some users, thanks for the package!!