Re: Re: how to get correct image after switch to other terminal
Hi, In fact,i can get correct image with common window at the time,BUT i found the image of root window became wrong, it's so strange. Any advice is welcome! Mark Vojkovich Wrote: There is no image when you are switched away. I'm not sure about how to figure out how to tell when switched away. I thought there was something in the XFree86-VidModeExtension, but it looks like there isn't. Certainly, you could monitor the visibility events on the window you are grabbing. If it's fully obscured, there's nothing to see. MArk. On Wed, 3 Mar 2004, wjd wrote: Hi All, I wrote a X11 application to get image of some window by XGetImage(),but after i switch to other terminal by Ctrl+Alt+F2,my application can't get correct image of windows.Are there any idea to fix this problem? or how can X11 application to know if desktop has been switch to another terminal? Thanks! ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
how to get correct image after switch to other terminal
Hi All, I wrote a X11 application to get image of some window by XGetImage(),but after i switch to other terminal by Ctrl+Alt+F2,my application can't get correct image of windows.Are there any idea to fix this problem? or how can X11 application to know if desktop has been switch to another terminal? Thanks! wjd ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
how to get cursor image
Hi All, I want to get cursor's image in X Application,does there any X11 API support this feature? Thanks wjd ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Re: how to get cursor image
Thank Alan's reply! wjd wrote: I want to get cursor's image in X Application,does there any X11 API support this feature? Not in most X implementations, including XFree86. The only one I'm aware of that currently has this is the one at http://xserver.freedesktop.org using Keith Packard's X-Fixes extension. -- -Alan Coopersmith- [EMAIL PROTECTED] Sun Microsystems, Inc.- Sun Software Group User Experience Engineering: G11N: X Window System ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Re: how to get a window's name which contains compound text?
Thank for your reply,i has run xwininfo directly,it told me this window has no name.I just try xprop,i find it will export correct window name,could you tell where to get the newest code of xprop? Thanks wjd wrote: I works on redhat8,how can i get a window's name which contains a compound text in X11 program? I has tried: XGetWindowProperty(Display*,Window,XA_WM_NAME,0,(long)BUFSIZ, False,XA_STRING,actual_type,actual_format, nitems,leftover,return_data); it return Success,but return_data is empty, this problem also exist when i wnat to get _NET_WM_NAME property. Have you tried code like the bits recently checked in to xwininfo in the XFree86 CVS? Take a look at: http://cvsweb.xfree86.org/cvsweb/xc/programs/xwininfo/xwininfo.cdiff?r1=1.9r2=1.10 -- -Alan Coopersmith- [EMAIL PROTECTED] Sun Microsystems, Inc.- Sun Software Group User Experience Engineering: G11N: X Window System ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel wjd [EMAIL PROTECTED] 2003-10-18 ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel