asmvik / asmvik/yabai

Mouse cursor moves to my other monitor when focusing next last space

Open
#2,222 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
29.6k
Forks
750
PR merge metrics
No merged PRs in 30d

Description

If I call
`yabai -m space --focus next`
on the rightmost space, then my mouse cursor moves to my other monitor (Macbook screen on the side)

I tried
`yabai -m space --focus next || yabai -m space --focus first`
with the same behavior.

Disabling "Displays have separate spaces" in the Settings causes Yabai to not work.

Is this expected? how to disable this behavior so that only the spaces in the current monitor are being cycled

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with multiple monitors and run `yabai -m space --focus next` from the rightmost space, then trace the handling of space focus and monitor selection. Confirm whether the cursor movement is expected and define done as either limiting cycling to spaces on the current monitor or documenting why that cannot be configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.