dgurkaynak / Penc

Trackpad-oriented window manager for macOS
https://deniz.co/penc/
MIT License
1.11k stars 25 forks source link

fix(*): Don't bring background windows to front #17

Closed ahti closed 5 years ago

ahti commented 5 years ago

The default SIWindow focus method moves other windows of the application the instance belongs to in front of other apps.

To reproduce, open two Safari windows, plus a third from another app, with one Safari window behind, and one in front of the other app. Then move the front Safari window using Penc. The background window will jump in front of the other app.

This pr fixes that, although one could argue focusThisWindowOnly should belong in Silica rather than Penc 🤷‍♀️

dgurkaynak commented 5 years ago

Hey @ahti, sorry for late response. I have just confirmed that bug and your PR fixes it. Thanks a lot 👍