emersion / emersion/slurp

Slurp doesn't receive simulate mouse pressing event

Open
#163 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.3k
Forks
75
PR merge metrics
No merged PRs in 30d

Description

slurp 1.5.0-1
sway 1.10
I simulate mouse pressing to slurp via
```
slurp -p & sleep 1; swaymsg 'seat - cursor press button1'; swaymsg 'seat - cursor release button1'
```
OR
```
{ sleep 1; swaymsg 'seat - cursor press button1'; swaymsg 'seat - cursor release button1'; } & slurp -p
```
All seems slurp doesn't receive simulate mouse pressing event.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with slurp -p and the swaymsg seat cursor press/release commands, using both shell command forms shown. Trace how slurp receives pointer events and verify that the simulated press and release select a region as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.