Closed N-R-K closed 4 months ago
For testing I used this to select a video playing in firefox:
$ ./scrot -s -lmode=classic,width=8,color=#ff3838
9/10 times the (discolored) border would end up in the screenshot. After the patch, I haven't been able to reproduce it.
(Should also note that I'm not running any compositor. And edge
mode never seems to get into the screenshot for me, with or without the sleep.)
selection classic is still the default for many people who are using a compositor. adding a hacky sleep similar to selection edge seems to fix it on my end.
Fixes: https://github.com/resurrecting-open-source-projects/scrot/issues/284