koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning
MIT License
24.21k stars 645 forks source link

Focusing workspace with Chrome focuses incorrect display #1736

Open sholalkere opened 1 year ago

sholalkere commented 1 year ago

I use two displays, display 1 has workspaces 1-7 and display 2 has workspaces 8-10.

Let's say workspaces 1 and 8 are visible (with 1 being focused) and windows 2 and 8 contain Chrome windows. Workspace 1 does not contain any Chrome windows. If I swap the focused workspace from 1 to 2 I expect that the Chrome window on workspace 2 to be focused. Instead, even though display 1 switches to workspace 2, the Chrome window on display 2 (window 8) is focused.

This behavior does not happen if workspace 1 has a Chrome window (which is focused prior to the toggle). This behavior also doesn't happen with other applications so I believe its specific to Chrome.

Is there any way, with yabai signals perhaps, to prevent this from happening?

koekeishiya commented 8 months ago

Likely same as #1724, #1718, #1569