Skip to content

Keep the cursor in place when switching workspaces - #7899

Open
iaeluk wants to merge 1 commit into
omacom:quattrofrom
iaeluk:no-cursor-warp-on-workspace-switch
Open

iaeluk wants to merge 1 commit into
omacom:quattrofrom
iaeluk:no-cursor-warp-on-workspace-switch

Conversation

@iaeluk

@iaeluk iaeluk commented Aug 23, 2026

Copy link
Copy Markdown

Summary

default/hypr/looknfeel.lua sets cursor:warp_on_change_workspace = 1, which moves the cursor to the last focused window on every workspace change. In practice this makes the pointer jump to the center of the screen when cycling workspaces, which many users find disruptive (it also breaks muscle memory for hovering UI).

Hyprland's own default for this setting is 0, so this pins it explicitly with a short comment documenting why.

Testing

  • ./test/all: shell suite passes except three pre-existing failures that reproduce identically on b71c60fe and are unrelated (config-test.sh and unowned-system-paths-test.sh expect an omarchy-pkgs checkout; snapper-test.sh is committed without its executable bit).
  • Verified locally on Hyprland 0.56.2: hyprctl configerrors clean after reload and hyprctl getoption cursor:warp_on_change_workspace reports 0.

Copilot AI balanced review requested due to automatic review settings August 23, 2026 14:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Prevents cursor movement when switching Hyprland workspaces by explicitly disabling workspace-change warping.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Changes:

  • Sets cursor:warp_on_change_workspace to 0.
  • Documents the intended cursor behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants