~emersion/grim#93: 
Inconsistent cursor in screenshot behavior

I've noticed that screenshots sometimes include the cursor even when I'm not specifying the -c option. Also, when specifying the -c option, screenshots don't always include the cursor.

# Never includes the cursor, even with `-c`
$> grim -o HDMI-A-2

# Always Includes the cursor, even without `-c`
$> grim -g "$(slurp -o)"

# Includes the cursor randomly, with or without `-c`, cannot reproduce 
every time
$> grim -g "$(slurp)"

Using Hyprland with software cursors enabled. Haven't tested on Sway.

Could this be related to software cursors being enabled ?

Status
REPORTED
Submitter
Genesis
Assigned to
No-one
Submitted
11 months ago
Updated
11 months ago
Labels
No labels applied.

~emersion 11 months ago

Cursor being included without -c is indeed a known issue with wlroots software cursors.

Genesis 11 months ago ยท edit

Alright, thanks for confirming!