Hi, For my project i need to get the co-ordinates for the current window or the coordinates of selected area by mouse on desktop or current window. This is supposed to be independent of KDE or Gnome or any other windows manager. Any hints how to do it ??? Am i supposed to hook into Xlib calls or there is some other way possible ??? Pihu