Skip to content

Fix #1000: Mouseover on Second Monitor Does Not Change Focus to Second - #1182

Merged
Thesola10 merged 1 commit into
paperwm:developfrom
victorwon2001:fix/issue-1000
Sep 21, 2026
Merged

Thesola10 merged 1 commit into
paperwm:developfrom
victorwon2001:fix/issue-1000

Conversation

@victorwon2001

@victorwon2001 victorwon2001 commented Aug 31, 2026 •

Copy link
Copy Markdown

Fixes #1000

Implementation summary

Updated pointer-driven monitor switching to use ordinary space activation, allowing Mutter to synchronize focus correctly. Only stackoverlay.js changed

Changes

stackoverlay.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Testing

Yes. Relevant repository checks passed.

@Jalst Jalst left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch! The fix makes good sense: switching to space?.activate(false, false) allows Mutter to handle input focus naturally on pointer crossing rather than forcing PaperWM's internal selectedWindow which caused the focus mismatch in #1000.

One administrative note: this PR is currently targeting release as its base branch. Per CONTRIBUTING.md, changes should target develop so they can be merged into the active development cycle. Could you retarget the base branch to develop? Once that's updated, it should be good to go.

@Thesola10 Thesola10 added the merging soon Label for PRs that are planned to be merged soon (usually within the next week) label Sep 21, 2026
Thesola10
Thesola10 previously approved these changes Sep 21, 2026
@Thesola10
Thesola10 changed the base branch from release to develop September 21, 2026 05:36
@Thesola10
Thesola10 dismissed their stale review September 21, 2026 05:36

The base branch was changed.

@Thesola10
Thesola10 merged commit 1b3307c into paperwm:develop Sep 21, 2026
@Jalst Jalst mentioned this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merging soon Label for PRs that are planned to be merged soon (usually within the next week)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mouseover on Second Monitor Does Not Change Focus to Second Monitor

3 participants