On Mon, 23 Aug 2010 15:39:30 +0800 Aaron Lewis <[email protected]> said:
> Hi eirik, > > On 08/23/2010 01:42 PM, Eirik Byrkjeflot Anonsen wrote: > > > > If you want to code it yourself, both xwininfo and xprop do this, so you > > could look at how they do it. > > > > (It is probably a little harder than you might think, as you probably > > want the XID of the "application" window, and not any random subwindow > > or the root window or a window created by the window manager...) > > > > eirik > > In my application , i use WId , so it's cool enough for me right now. > > xwininfo solved my problem , now i could tell what's wrong with my > application. > > Thanks a lot ! if you are this new to x that you didn't know of xwininfo... i highly also suggest you stare at: xwininfo -tree -root for a while :) also xprop and xev are your friends. :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
