Re: Can XCopyArea work on the desktop?
Mark Vojkovich <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] > http://XFree86.Org/mailman/listinfo/devel >