Aha, this seems to be a more sensible way of getting screenshots:
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 27 Dec 2006 15:21:55 +0000 (15:21 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 27 Dec 2006 15:21:55 +0000 (15:21 +0000)
commit9edb9f353b57d903d12f241691faf6e8b8cff276
tree7520630b85670f5524fd8ccc38f75b81e37ddca1
parentf12cdd7284a3d144b17c25e271d1edf701692ece
Aha, this seems to be a more sensible way of getting screenshots:
instead of having the puzzle binary export its window ID to a script
which then runs xwd, we can use the gdk-pixbuf library to have the
puzzle binary _itself_ read its own internal pixmap and save it
straight to a PNG. How handy. And faster, and less timing-sensitive.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7022 cda61777-01e9-0310-a592-d414129be87e
gtk.c
icons/screenshot.sh