WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

regarding function flow in xnee?

View: New views
6 Messages — Rating Filter:   Alert me  

regarding function flow in xnee?

by sridhar_yerram :: Rate this Message:

| View Threaded | Show Only this Message


Hello friend,
i was working on xnee to modify, some what iam able to understand as you have given some
good links, and one more thing  what is XID, actually refers to, is it a window id(client id),
as in one of the following function in xnee

xnee_record_handle_event_printer(xnee_data * xd,
                 int event_type,
                 XRecordDatum *xrec_data,
                 XRecordInterceptData *xrecintd)

i read that XRecordInterceptData contains  an XID member..is it similar to window id(client id),
exactly iam unable to grasp every function, so i need help from you,
as we are getting even_type in the above function, can i apply that to the below to get window id..
XAnyEvent *e = (XAnyEvent *) eventp;
do you have exact flow of working of xnee, so i can work on it very fastly, plz
looking for your reply :)

 




--
SrIDhAr M.tech(AI)
Univ of Hyderabad
------------------------------------------------
Life is pleasant. Death is peaceful. It's the transition that's troublesome.
------------------------------------------------
_______________________________________________
Info-xnee mailing list
Info-xnee@...
http://lists.gnu.org/mailman/listinfo/info-xnee

Re: regarding function flow in xnee?

by Henrik Sandklef-2 :: Rate this Message:

| View Threaded | Show Only this Message

sridhar wrote:
> Hello friend,
> i was working on xnee to modify, some what iam able to understand as you
> have given some
> good links, and one more thing  what is XID, actually refers to, is it a
> window id(client id),

Well, XID is used in a function called:

  XID xnee_client_id (Display *dpy)

in that function you can see that the function returns an XID which is
'calculated' from the given Display like this

  return dpy->resource_base ;

so I XID refers to resource_base in the display.


> as in one of the following function in xnee
>
> *xnee_record_handle_event_printer(xnee_data * xd,
>                  int event_type,
>                  XRecordDatum *xrec_data,
>                  XRecordInterceptData *xrecintd)
> *
> i read that *XRecordInterceptData contains  *an XID member..is it similar to
> window id(client id),
> exactly iam unable to grasp every function, so i need help from you,
> as we are getting even_type in the above function, can i apply that to the
> below to get window id..*
> XAnyEvent *e = (XAnyEvent *) eventp;

I do not understand you. Can you rephrase the question?

> *do you have exact flow of working of xnee, so i can work on it very fastly,

no

Start from the main function in cnee. It will not take that long (30
mins or so) to get a picture on things are working.

Basically,

 create an xnee_data structure
 parse command line and do some settings
 call xnee_start



/hesa





_______________________________________________
Info-xnee mailing list
Info-xnee@...
http://lists.gnu.org/mailman/listinfo/info-xnee

Re: regarding function flow in xnee?

by sridhar_yerram :: Rate this Message:

| View Threaded | Show Only this Message


Hi friend,
from past 20days, iam working on this and you helped me in this,
but till now i cant say exactly about how it xnee is doing everything,
this is very new to me, it shows how much novice iam in xlib programming,
but what to do, its taking much time to get into my mind ,,,
the only simple thing is to have windowid for every request,reply and event..
i request you to look at it...and help me how to achieve it  plzplz...:(
i wont forget your help in my life plz..i dont have any words to say..may be it
does not look like a professional behavior , but i dont have any other option...
hope you reply for this :)

On Mon, May 5, 2008 at 2:04 PM, Henrik Sandklef <hesa@...> wrote:
sridhar wrote:
> Hello friend,
> i was working on xnee to modify, some what iam able to understand as you
> have given some
> good links, and one more thing  what is XID, actually refers to, is it a
> window id(client id),

Well, XID is used in a function called:

 XID xnee_client_id (Display *dpy)

in that function you can see that the function returns an XID which is
'calculated' from the given Display like this

 return dpy->resource_base ;

so I XID refers to resource_base in the display.


> as in one of the following function in xnee
>
> *xnee_record_handle_event_printer(xnee_data * xd,
>                  int event_type,
>                  XRecordDatum *xrec_data,
>                  XRecordInterceptData *xrecintd)
> *
> i read that *XRecordInterceptData contains  *an XID member..is it similar to
> window id(client id),
> exactly iam unable to grasp every function, so i need help from you,
> as we are getting even_type in the above function, can i apply that to the
> below to get window id..*
> XAnyEvent *e = (XAnyEvent *) eventp;

I do not understand you. Can you rephrase the question?

> *do you have exact flow of working of xnee, so i can work on it very fastly,

no

Start from the main function in cnee. It will not take that long (30
mins or so) to get a picture on things are working.

Basically,

 create an xnee_data structure
 parse command line and do some settings
 call xnee_start



/hesa






--
SrIDhAr M.tech(AI)
Univ of Hyderabad
------------------------------------------------
Life is pleasant. Death is peaceful. It's the transition that's troublesome.
------------------------------------------------
_______________________________________________
Info-xnee mailing list
Info-xnee@...
http://lists.gnu.org/mailman/listinfo/info-xnee

Re: regarding function flow in xnee?

by Henrik Sandklef-2 :: Rate this Message:

| View Threaded | Show Only this Message

sridhar wrote:
> Hi friend,
> from past 20days, iam working on this and you helped me in this,
> but till now i cant say exactly about how it xnee is doing everything,
> this is very new to me, it shows how much novice iam in xlib programming,
> but what to do, its taking much time to get into my mind ,,,
> the only simple thing is to have windowid for every request,reply and
> event..
> i request you to look at it...and help me how to achieve it  plzplz...:(

can't do it now

perhaps later on this week. I have a couple of tight dead lines myself.

> i wont forget your help in my life plz..i dont have any words to say..may be
> it
> does not look like a professional behavior , but i dont have any other
> option...

ok with me... problem on my side is that I have zero time..... which is
nothing new so I am kind of used to it  ;)

> hope you reply for this :)
>
> On Mon, May 5, 2008 at 2:04 PM, Henrik Sandklef <hesa@...> wrote:
>
>> sridhar wrote:
>>> Hello friend,
>>> i was working on xnee to modify, some what iam able to understand as you
>>> have given some
>>> good links, and one more thing  what is XID, actually refers to, is it a
>>> window id(client id),
>> Well, XID is used in a function called:
>>
>>  XID xnee_client_id (Display *dpy)
>>
>> in that function you can see that the function returns an XID which is
>> 'calculated' from the given Display like this
>>
>>  return dpy->resource_base ;
>>
>> so I XID refers to resource_base in the display.
>>
>>
>>> as in one of the following function in xnee
>>>
>>> *xnee_record_handle_event_printer(xnee_data * xd,
>>>                  int event_type,
>>>                  XRecordDatum *xrec_data,
>>>                  XRecordInterceptData *xrecintd)
>>> *
>>> i read that *XRecordInterceptData contains  *an XID member..is it similar
>> to
>>> window id(client id),
>>> exactly iam unable to grasp every function, so i need help from you,
>>> as we are getting even_type in the above function, can i apply that to
>> the
>>> below to get window id..*
>>> XAnyEvent *e = (XAnyEvent *) eventp;
>> I do not understand you. Can you rephrase the question?
>>
>>> *do you have exact flow of working of xnee, so i can work on it very
>> fastly,
>>
>> no
>>
>> Start from the main function in cnee. It will not take that long (30
>> mins or so) to get a picture on things are working.
>>
>> Basically,
>>
>>  create an xnee_data structure
>>  parse command line and do some settings
>>  call xnee_start
>>
>>
>>
>> /hesa
>>
>>
>>
>>
>
>



_______________________________________________
Info-xnee mailing list
Info-xnee@...
http://lists.gnu.org/mailman/listinfo/info-xnee

Re: regarding function flow in xnee?

by sridhar_yerram :: Rate this Message:

| View Threaded | Show Only this Message

hi friend,
so by this week you will adapt it , i hope,
i will try to work on xnee..till how much i can..


On Mon, May 5, 2008 at 4:20 PM, Henrik Sandklef <hesa@...> wrote:
sridhar wrote:
> Hi friend,
> from past 20days, iam working on this and you helped me in this,
> but till now i cant say exactly about how it xnee is doing everything,
> this is very new to me, it shows how much novice iam in xlib programming,
> but what to do, its taking much time to get into my mind ,,,
> the only simple thing is to have windowid for every request,reply and
> event..
> i request you to look at it...and help me how to achieve it  plzplz...:(

can't do it now

perhaps later on this week. I have a couple of tight dead lines myself.

> i wont forget your help in my life plz..i dont have any words to say..may be
> it
> does not look like a professional behavior , but i dont have any other
> option...

ok with me... problem on my side is that I have zero time..... which is
nothing new so I am kind of used to it  ;)

> hope you reply for this :)
>
> On Mon, May 5, 2008 at 2:04 PM, Henrik Sandklef <hesa@...> wrote:
>
>> sridhar wrote:
>>> Hello friend,
>>> i was working on xnee to modify, some what iam able to understand as you
>>> have given some
>>> good links, and one more thing  what is XID, actually refers to, is it a
>>> window id(client id),
>> Well, XID is used in a function called:
>>
>>  XID xnee_client_id (Display *dpy)
>>
>> in that function you can see that the function returns an XID which is
>> 'calculated' from the given Display like this
>>
>>  return dpy->resource_base ;
>>
>> so I XID refers to resource_base in the display.
>>
>>
>>> as in one of the following function in xnee
>>>
>>> *xnee_record_handle_event_printer(xnee_data * xd,
>>>                  int event_type,
>>>                  XRecordDatum *xrec_data,
>>>                  XRecordInterceptData *xrecintd)
>>> *
>>> i read that *XRecordInterceptData contains  *an XID member..is it similar
>> to
>>> window id(client id),
>>> exactly iam unable to grasp every function, so i need help from you,
>>> as we are getting even_type in the above function, can i apply that to
>> the
>>> below to get window id..*
>>> XAnyEvent *e = (XAnyEvent *) eventp;
>> I do not understand you. Can you rephrase the question?
>>
>>> *do you have exact flow of working of xnee, so i can work on it very
>> fastly,
>>
>> no
>>
>> Start from the main function in cnee. It will not take that long (30
>> mins or so) to get a picture on things are working.
>>
>> Basically,
>>
>>  create an xnee_data structure
>>  parse command line and do some settings
>>  call xnee_start
>>
>>
>>
>> /hesa
>>
>>
>>
>>
>
>




--
SrIDhAr M.tech(AI)
Univ of Hyderabad
------------------------------------------------
Life is pleasant. Death is peaceful. It's the transition that's troublesome.
------------------------------------------------
_______________________________________________
Info-xnee mailing list
Info-xnee@...
http://lists.gnu.org/mailman/listinfo/info-xnee

Re: regarding function flow in xnee?

by Henrik Sandklef-2 :: Rate this Message:

| View Threaded | Show Only this Message

sridhar wrote:
> hi friend,
> so by this week you will adapt it

no, I might have had a chance to look at it

, i hope,
> i will try to work on xnee..till how much i can..


excellent


>
> On Mon, May 5, 2008 at 4:20 PM, Henrik Sandklef <hesa@...> wrote:
>
>> sridhar wrote:
>>> Hi friend,
>>> from past 20days, iam working on this and you helped me in this,
>>> but till now i cant say exactly about how it xnee is doing everything,
>>> this is very new to me, it shows how much novice iam in xlib programming,
>>> but what to do, its taking much time to get into my mind ,,,
>>> the only simple thing is to have windowid for every request,reply and
>>> event..
>>> i request you to look at it...and help me how to achieve it  plzplz...:(
>> can't do it now
>>
>> perhaps later on this week. I have a couple of tight dead lines myself.
>>
>>> i wont forget your help in my life plz..i dont have any words to say..may
>> be
>>> it
>>> does not look like a professional behavior , but i dont have any other
>>> option...
>> ok with me... problem on my side is that I have zero time..... which is
>> nothing new so I am kind of used to it  ;)
>>
>>> hope you reply for this :)
>>>
>>> On Mon, May 5, 2008 at 2:04 PM, Henrik Sandklef <hesa@...> wrote:
>>>
>>>> sridhar wrote:
>>>>> Hello friend,
>>>>> i was working on xnee to modify, some what iam able to understand as
>> you
>>>>> have given some
>>>>> good links, and one more thing  what is XID, actually refers to, is it
>> a
>>>>> window id(client id),
>>>> Well, XID is used in a function called:
>>>>
>>>>  XID xnee_client_id (Display *dpy)
>>>>
>>>> in that function you can see that the function returns an XID which is
>>>> 'calculated' from the given Display like this
>>>>
>>>>  return dpy->resource_base ;
>>>>
>>>> so I XID refers to resource_base in the display.
>>>>
>>>>
>>>>> as in one of the following function in xnee
>>>>>
>>>>> *xnee_record_handle_event_printer(xnee_data * xd,
>>>>>                  int event_type,
>>>>>                  XRecordDatum *xrec_data,
>>>>>                  XRecordInterceptData *xrecintd)
>>>>> *
>>>>> i read that *XRecordInterceptData contains  *an XID member..is it
>> similar
>>>> to
>>>>> window id(client id),
>>>>> exactly iam unable to grasp every function, so i need help from you,
>>>>> as we are getting even_type in the above function, can i apply that to
>>>> the
>>>>> below to get window id..*
>>>>> XAnyEvent *e = (XAnyEvent *) eventp;
>>>> I do not understand you. Can you rephrase the question?
>>>>
>>>>> *do you have exact flow of working of xnee, so i can work on it very
>>>> fastly,
>>>>
>>>> no
>>>>
>>>> Start from the main function in cnee. It will not take that long (30
>>>> mins or so) to get a picture on things are working.
>>>>
>>>> Basically,
>>>>
>>>>  create an xnee_data structure
>>>>  parse command line and do some settings
>>>>  call xnee_start
>>>>
>>>>
>>>>
>>>> /hesa
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>



_______________________________________________
Info-xnee mailing list
Info-xnee@...
http://lists.gnu.org/mailman/listinfo/info-xnee