slurp icon indicating copy to clipboard operation
slurp copied to clipboard

Buggy behaviour for negative output position

Open haansn08 opened this issue 4 years ago • 1 comments

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

haansn08 avatar Mar 11 '21 19:03 haansn08

Is this fixed in master? Ref https://github.com/emersion/slurp/commit/c9fabc451cd100eeeefbdd7c0d7dccdefe0058c8

emersion avatar Mar 22 '21 16:03 emersion