This really belongs in -dev rather than -users, so I'm responding there... Take a look at the attached code. You can pull what you need out of it. This was my little test app for testing the focus bug and spits out the windows in X11 z depth ordering. On Feb 15, 2008, at 21:43, Tommy Nordgren wrote:
Do the X11 API offer any function for getting info on currently running X11 processes? Specifically, when a X11 window has user focus, I want to get the name of the X11 process that owns the window. It would be nice with a solution that is portable too. ----------------------------------- See the amazing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?"
Tommy Nordgren tommy.nordgren@comhem.se
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (X11-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/jeremyhu%40freedesktop.org
This email sent to jeremyhu@freedesktop.org