in reply to Finding windows with WNCK
Without analyzing your code, I would remind you that the window lists which WNCK returns depends on the virtual desktop you are on. You have to cycle thru the virtual desktops, and get the window list from each. I have a program that fails like that, it used WNCK to get the Mozilla x_window_id, but it only worked if the Perl script was executed from the same virtual desktop as Mozilla.
I hope it made sense, it seems like common sense to me. :-)
|
|---|