Hello again, > 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. Thats thats exactly what I was searching for. Thanks a lot for your help, lg Clemens