Re: Some doubts in Xlib

2005-08-25 Thread Tim Roberts
Puneet Goel wrote: 1) While debugging I am seeing that dpy structure pointer is being passed by some calls. dpy intern contains 'buffer', 'bufptr' etc. While digging through the location pointed by 'buffer' and 'bufptr' the data is shown as \003\005 or \002 etc. What is the meaning of these

Some doubts in Xlib

2005-08-17 Thread Puneet Goel
Hi All, I am studying Xlib internal working. Came across some problems. Hope you can help me in clarifying them. I am using gdb for debugging. 1) While debugging I am seeing that dpy structure pointer is being passed by some calls. dpy intern contains 'buffer', 'bufptr' etc. While digging

Re: Some doubts in Xlib

2005-08-17 Thread Josip Deanovic
Puneet Goel [EMAIL PROTECTED] writes: [...] 2) I am trying to capture the full process on how any window is being drawn. through gdb i am attaching kwin (KDE's Window Manager). I am not getting which call at Xlib is drawing window. I thought probably this is being done by

Re: Some doubts in Xlib

2005-08-17 Thread Puneet Goel
Hello Josip, On 8/17/05, Josip Deanovic [EMAIL PROTECTED] wrote: Puneet Goel [EMAIL PROTECTED] writes: Window is drawn by XCreateWindow or XCreateSimpleWindow function. Are you trying to see how Xlib works internally or just how to use Xlib? Thanks for the reply. I am looking forward to