[Qt-interest] Howto grab window from X11 display other than applications display
Andreas Pakulat
apaku at gmx.de
Wed May 25 00:27:43 CEST 2011
On 24.05.11 21:03:02, Wilhelm wrote:
> Hi,
>
> with QPixmap::grabWindow() i can grab the contents of windows on the
> applications display, say localhost:0.0.
>
> How can my application (connected to localhost:0.0) grab windows from
> another display e.g. localhost:1.0 ?
>
> I tried to use the code of QPixmap but with no luck due to the private
> headers in Qt.
No idea wether X11 allows this at all, but you'll have to dive into the
X11 api to do this anyway. Qt does not have any way to do this.
Andreas
More information about the Qt-interest-old
mailing list