Skip to content

feat: option to include or hide the mouse pointer in screenshots - #25

Merged
cgillinger merged 1 commit into
mainfrom
capture-pointer-option
Nov 5, 2026
Merged

cgillinger merged 1 commit into
mainfrom
capture-pointer-option

Conversation

@cgillinger

Copy link
Copy Markdown
Owner
  • New exclusive choice under File (and the Windows tray menu): Include mouse pointer in screenshot / Hide mouse pointer in screenshot. Hidden is the default; the choice is persisted with QSettings.
  • Wayland: passes the pointer flag to the tool (spectacle -p, grim -c, gnome-screenshot -p) only when enabled.
  • Windows/X11: Qt's grab never includes the pointer, so a standard arrow is drawn at the cursor position (scaled for HiDPI) when enabled.
  • Smoke test covers the tool flags and pointer drawing.

🤖 Generated with Claude Code

Hidden by default. The choice sits under File (and the Windows tray menu)
and is stored in QSettings. Wayland tools get their pointer flag
(spectacle/gnome-screenshot -p, grim -c); on Windows/X11, where Qt's grab
never contains the pointer, a standard arrow is drawn at the cursor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cgillinger
cgillinger merged commit 4827d24 into main Nov 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant