Re: Screenshot API

Martin Gräßlin <[email protected]> Fri, 27 Jan 2012 20:52:04 +0100
Newsgroups gmane.comp.gnome.wm-spec
Message-ID <2746966.jMYj1gPkto@martin-desktop>
On Friday 27 January 2012 17:28:16 Andrew Higginson wrote:
> Hi,
> 
> == Background ==
> I am working on a screenshot application for Linux and one of the main
> features of my application is that you should only have to take a
> screenshot once, and that all adjustments can be done afterwards. In
> order to do this, I take screenshots of each individual window and
> stitch them together.
> 
> Whilst this works for some window managers, like Metacity, for some
> compositing managers, such as Compiz, getting window contents and window
> frame with XGetImage doesn't make sense technically and doesn't work.
> 
> When I spoke to the guy behind Compiz (smspillaz), he recommended an
> API, through NetWM, that would allow a client application to request a
> screenshot from the window manager, that would include the window frame.
> 
> Now I don't know much about NetWM, but I would really like to get
> something like this in, so that I could make my application a reality
> for all window managers, so I hope I can get some dialog going on this.
Just for your info: we have such an API already integrated in KWin which is 
used by ksnapshot, but we based it on D-Bus. If you are interested I can 
provide you some information about it.

Cheers
Martin Gräßlin
KWin maintainer

_______________________________________________
wm-spec-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/wm-spec-list
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk8jAGQACgkQqVXwidMiVrqSFgCeOgWgDbqndNImw7qBOka45lEu
mZsAn3iaa0t30QPe8jWDjnw67F75B5dW
=EFIp
-----END PGP SIGNATURE-----