From: Guido S. <__g...@we...> - 2005-04-17 12:23:30
|
I want to provide the option to tab/cycle through the windows of the current active application only. On MacOS X this is done via the Alt-~ shortcut. Problem is, I can't figure out to which application/process each window belongs. The process ID to which each window belongs would be ideal, if I could find out. WM_COMMAND and WM_CLASS though often helpfull are not conclusive, unfortunately. WM_COMMAND is not always there and applications are essentially free in what they store in the WM_CLASS, although gtk apps seem to provide the application name as wm_class reliably. I need something that works each and everytime though, not something which works only for some toolkits. I looked through the X11 documentation, but can't find a conclusive function or data field anywhere. |