Re: wnck_screen_get_windows() returns empty window list

Ben Liblit wrote:
Am I missing something *really* obvious here?

Perhaps not obvious, but maybe pretty simple; libwnck is all asynchronous. There's some kind of "force update" function on WnckScreen iirc, or if you're going to watch for change notifications anyway, all the windows should appear once you return to the main loop.

There's a reason libwnck was always marked as "not public API" - it should be a lot better designed API-wise if it were intended for wide usage...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]