lirios / lirios/shell

Mouse input grab for shell surface move

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
247
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Create a mouse input grabber that emits a stopMove signal when the mouse button is released.
When a shell surface emits onStartMove the compositor sets the grab cursor to move and activates the grabber, when the grabber emits onStopMove the grab cursor is set back to arrow and the grabber is deactivated.

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 finding the shell-surface handling for onStartMove and the compositor's grab-cursor logic, then inspect how mouse input grabs are represented. Done means a grabber becomes active during a move, emits a stopMove signal on mouse-button release, restores the arrow cursor, and is deactivated.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.