slop
slop copied to clipboard
Adjust bottom right corner of selection area by one pixel?
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
You could also disable the mouse in screenshots with --hidecursor. It should also fix your problem.