WayfireWM / WayfireWM/wayfire

Cursor always in the middle in zoom mode

Open
#2,095 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

easy enhancement PRs-welcome
Dominant language
C++
Stars
3.1k
Forks
237
Avg merge
1h 43m
Merged PRs (30d)
1

Description

I don't know how hard would this be to implement,
Currently when using "zoom" the screen is bound to the corners, which means we have to move the cursor really near 0,0 to be able to see an icon near 0,0.
It'd be really nice to be able to have an absolute view of the screen at the pointer location, that would mean the cursor would always show in the middle and if the cursor goes at 0,0 then the top and left half of the screen would be black (out of bounds) but the pointer should be blocked in order to not being able to go further.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the zoom-mode implementation in the Wayfire compositor and trace how pointer position determines the visible screen bounds. Compare the current corner-bound behavior with the requested pointer-centered view, including out-of-bounds black areas and pointer blocking at screen edges. Done means zoom mode keeps the pointer centered where possible and prevents movement beyond the virtual screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.