Is it possible to get window-pointer of another application?
Glynn Clements
glynn at gclements.plus.com
Tue Oct 4 15:24:10 PDT 2005
Clemens Eisserer wrote:
> I would like to change the size of other applications by a C-program
> which just gets the pointer of the foreign window and sets its size,
> however I do not have any clue howto get access to windows that were
> not created inside the application itself?
You can enumerate the list of windows on a screen by recursively
calling XQueryTree() starting at the root window. Look at how
"xwininfo -tree -root" works for details.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the xorg
mailing list