[SOLVED] Re: Simple application to get window WId ?
Carsten Haitzler (The Rasterman)
raster at rasterman.com
Mon Aug 23 03:04:17 PDT 2010
On Mon, 23 Aug 2010 15:39:30 +0800 Aaron Lewis <aaron.lewis1989 at gmail.com> 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
> 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) raster at rasterman.com
More information about the xorg