slop icon indicating copy to clipboard operation
slop copied to clipboard

Adjust bottom right corner of selection area by one pixel?

Open Jonny1987 opened this issue 6 years ago • 1 comments

If using slop in a script which does a screenshot (ie maim) immediately after the slop, then there is 1 white pixel in the bottom right corner. I think this is from the normal cursor (after the selection cursor switches back to the normal cursor).

If the bottom right corner of the selection area is moved up and left by 1 pixel then I think this would stop this happening (so the selection area no longer overlaps with the top left pixel of the normal cursor).

This is not really a problem though as it is solved by doing a "xdotool mousemove_relative 1 1" before the screenshot

Jonny1987 avatar Mar 22 '19 15:03 Jonny1987

You could also disable the mouse in screenshots with --hidecursor. It should also fix your problem.

naelstrof avatar Sep 04 '19 22:09 naelstrof