Roger / escrotum

Linux screen capture using pygtk, inspired by scrot
GNU General Public License v3.0
214 stars 22 forks source link

fix selection of a window #18

Closed aanatoly closed 9 years ago

aanatoly commented 9 years ago

Selection of a window done by single click did not triggered internal window show in notify event handler, so screenshot code waiting for next expose ran forever.

Fixed by showing window anyway, just in case.

Roger commented 9 years ago

oh, i missed that case.. i think we need tests i think it's better if we don't wait at all if it's a selection of a window

Roger commented 9 years ago

https://github.com/Roger/escrotum/commit/34b83913524c4866324193435d816cee8d21bfed

aanatoly commented 9 years ago

Commit 34b8391 solves the problem, works ok. Thanks So closing my pull request