jigish / slate

A window management application (replacement for Divvy/SizeUp/ShiftIt)
GNU General Public License v3.0
7.85k stars 510 forks source link

focus not working properly #503

Open justin-calleja opened 7 years ago

justin-calleja commented 7 years ago

Given the following key bindings:

bind l:shift;cmd   focus right
bind h:shift;cmd     focus left
bind k:shift;cmd       focus up
bind j:shift;cmd     focus down

and given I have iTerm taking up half the screen on the left and an editor taking half the screen on the right - I expect l:shift;cmd to take me to the editor if I'm focused on iTerm. Instead it focuses on the browser behind both these apps.

It seems to work how I'm expecting if I have 2 instances of iTerm open, both on each side of the screen (left / right). That works. But if the other app is something else (not iTerm), then it doesn't (it just pops the other iTerm instance into focus instead (even though that instance is behind for e.g. the editor).

Any idea what I'm doing wrong? Thanks!