Re: Re: how to get correct image after switch to other terminal

2004-03-03 Thread wjd
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

how to get correct image after switch to other terminal

2004-03-02 Thread wjd
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

Re: how to get correct image after switch to other terminal

2004-03-02 Thread Mark Vojkovich
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