info-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Info-xnee] Help to adapt cnee for logging more events !!


From: Henrik Sandklef
Subject: Re: [Info-xnee] Help to adapt cnee for logging more events !!
Date: Fri, 25 Apr 2008 14:59:04 +0200

fre 2008-04-25 klockan 15:19 +0530 skrev sridhar:
> Hello Friend,
> quite helpful about record extensions in xlib,
> i was seeing your cnee code from last week, 
> a little bit i understood, 
> but unable to solve my problem till now,
> i already told you my main requirements is 
> just find out the events from a client application to server,
> as cnee is recording all the events, but its not mentioning 
> from which window or client...the events belongs to, 

Can you get the window id out of every Event as received from RECORD
extension?

Is there a window id in every X11 Event structure?

When you move a mouse for example, is that an caused by an application?
No, it's a device causing the event. So, no application there.....  etc
etc etc etc etc

> just i need to record that information too...
> please give me the solution as early as possible,

I figure you are the one to solve since it for your CV.

You have to dive in to the code and docs.

> 
> 
> On Fri, Apr 25, 2008 at 1:00 PM, Henrik Sandklef <address@hidden> wrote:
>         Look at the RECORD extension docs:
>         
>          http://www.x.org/docs/Xext/recordlib.pdf
>          http://www.x.org/docs/Xext/record.pdf
>         
>         in those documents you can see how the data you receive from
>         the X
>         server (using the RECORD extension) looks like. That data is
>         managed in
>         the file I've told you about before (xnee_record.c). I guess
>         you have to
>         take it from here
>         
>         
>         
>         /hesa
>         
>         fre 2008-04-25 klockan 08:29 +0530 skrev sridhar:
>         
>         > Hello friend,
>         > i read those things for the links which you have given,
>         > then what is next, how to proceed, only a little amount
>         > of time is left to me, ...:(
>         >
>         >
>         > On Fri, Apr 25, 2008 at 12:37 AM, Henrik Sandklef
>         <address@hidden>
>         > wrote:
>         >         sridhar skrev:
>         >         > Hello Friend,
>         >         >  iam just a graduate student,
>         >         > doing project for my curriculum purpose,
>         >         > iam a newbie to this xserver,
>         >         > and you helped me a lot in regarding cnee,
>         >         > really iam greatful for that,
>         >         > its not a product to be released or some other
>         thing,
>         >         > just its part of my curriculum project  to
>         understand
>         >         > the xserver events from clients to server,
>         >         > even the source is there,
>         >         > some what iam feeling difficult to understand,
>         >         > ie iam asking you...
>         >         > so i hope  you understood me,
>         >
>         >
>         >         sure do... thanks for the information.
>         >
>         >         Trying to understand X, which is a protocol dealing
>         with both
>         >         client and
>         >         server, I would start at:
>         >
>         >         http://en.wikipedia.org/wiki/X_window_system
>         >
>         >
>         
> http://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture
>         >
>         >
>         http://en.wikipedia.org/wiki/X_Window_System_core_protocol
>         >
>         >         read those and we can proceed from there :)
>         >
>         >
>         >
>         >
>         > --
>         > SrIDhAr M.tech(AI)
>         > Univ of Hyderabad
>         > ------------------------------------------------
>         > Life is pleasant. Death is peaceful. It's the transition
>         that's
>         > troublesome.
>         > ---------------------------------
>         
>         
> 
> 
> 
> -- 
> SrIDhAr M.tech(AI)
> Univ of Hyderabad
> ------------------------------------------------
> Life is pleasant. Death is peaceful. It's the transition that's
> troublesome.
> ---------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]