resurrecting-open-source-projects / scrot

SCReenshOT - command line screen capture utility
Other
510 stars 50 forks source link

Hangs if invoked with a button pressed #389

Closed N-R-K closed 2 weeks ago

N-R-K commented 3 weeks ago

To reproduce:

  1. Run sleep 2 && echo "ready" && ./scrot -s - >/dev/null
  2. Press a mouse button and hold it down.
  3. When "ready" is printed, let go.
  4. scrot hangs and doesn't respond to button or key presses anymore.

Tested on current master (c60a26c).