XCopyArea can copy arbitrary rectangles of the desktop if the
source is the root window and the GC has IncludeInferiors for the
sub-window mode.
See the man page on XSetSubwindowMode. There are a few
Xlib functions for getting the root window ID (XRootWindow,
XDefaultRootWindow, XRootWindowOfScreen).
Mark.
On Thu, 20 Oct 2005, Daniel(Lijun_Xie) wrote:
> Hi,
>
> I want to copy one area of desktop to another place. However I find the
> XCopyArea function only work on windows(widgets), can't work on the desktop
> itself. The term desktop, I means the screen.
>
> Is it so?
>
> thank you very much for any information. It's an urgent work.
>
>
>
> Daniel(Lijun_Xie)
> [EMAIL PROTECTED] or [EMAIL PROTECTED]
> 2005-10-20
>
> ___
> Devel mailing list
> Devel@XFree86.Org
> http://XFree86.Org/mailman/listinfo/devel
>
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel