chiark / gitweb /
Aha, this seems to be a more sensible way of getting screenshots:
authorSimon Tatham <anakin@pobox.com>
Wed, 27 Dec 2006 15:21:55 +0000 (15:21 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 27 Dec 2006 15:21:55 +0000 (15:21 +0000)
commit197c2ebc122d9dc30036deb96f3bf098dac40615
tree7520630b85670f5524fd8ccc38f75b81e37ddca1
parent61b983ae3a8b1dc9033f7ef843a4a17228a8f311
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.

[originally from svn r7022]
gtk.c
icons/screenshot.sh