Thanks for that information,

Actually, what my requirement is to get the
coordinates of the rectangular portion on the desktop
that has changed. Comparing the screens would be a
heavy task. So I am looking for an approach that will
keep giving me the coordinates of the changed
rectangles.

Hooking onto the Xserver might affect the performance,
Can I go one level below the x server, sit somewhere
in between the X server and the display driver ?

Actually I am not clear about how the X server
actually renders the data on the screen.Can I get some
information on that ?

thanks,
Anurag
--- Scott Long <[EMAIL PROTECTED]> wrote:
> I think the easiest way to do what you are
> suggesting would be to run 
> a "proxy" (your hook) that listens on the usual X
> socket (either TCP 
> or UNIX). Then, run the X server on a non-standard
> port, and forward 
> all the packets in both directions through your
> proxy.
> 
> This assumes, first of all, that it's possible to
> run X on a 
> non-standard port. I don't know how you would do
> this.
> 
> Also, it would be inefficient if you only wanted to
> intercept X 
> *requests*, since the X responses would have to pass
> back through your 
> proxy on their way to the client.
> 
> Could the Record extension somehow be used to do
> this?
> 
> On Tue, 22 Oct 2002 01:20:05 -0700 (PDT)
>   Anurag Palsule <[EMAIL PROTECTED]> wrote:
> >Hello,
> >
> >Is it possible for me to write a wrapper or a hook
> to
> >the Xserver,so that all the X calls, instead of
> going
> >to Xserver, will land into my application and my
> >application will inturn pass them to the X server
> for
> >further processing.
> >
> >If yes, how ?
> >
> >thanks,
> >Anurag
> >
> >
> >
> >__________________________________________________
> >Do you Yahoo!?
> >Y! Web Hosting - Let the expert host your web site
> >http://webhosting.yahoo.com/
> >_______________________________________________
> >Xpert mailing list
> >[EMAIL PROTECTED]
> >http://XFree86.Org/mailman/listinfo/xpert
> 
> Scott Long
> SwiftView, Inc. http://www.swiftview.com
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to