mjolnirapp / mjolnir

Lightweight automation and productivity app for OS X
5.2k stars 129 forks source link

Take Z-ordering into account for windows proximity #553

Closed eproxus closed 9 years ago

eproxus commented 9 years ago

Adds Z-ordering as a small contributor to the score, so that windows with exactly similar scores differ by 1 depending on their stacking order (with topmost getting the smallest bonus, since the score is inversely proportional to proximity)

Fix for #551.

thesoftwarephilosopher commented 9 years ago

Thanks!