emersion / emersion/slurp

Buggy behaviour for negative output position

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

Description

When setting the output position in sway to a negative coordinate, `slurp` behaves buggy.
My configuration:
```
output VGA-1 pos 0 0
output DVI-I-1 pos 1600 -450
```
The selection is not placed where the user clicks:
https://user-images.githubusercontent.com/6215916/110844081-e7c8b200-82a0-11eb-98b9-feed5b89a04d.mp4

Rewriting the configuration to only use positive coordinates makes this issue disappear.
```
output VGA-1 pos 0 450
output DVI-I-1 pos 1600 0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.