Re: wnck_screen_get_windows() returns empty window list
- From: Havoc Pennington <hp redhat com>
- To: Ben Liblit <liblit cs wisc edu>
- Cc: metacity-devel-list gnome org
- Subject: Re: wnck_screen_get_windows() returns empty window list
- Date: Mon, 26 Jun 2006 14:03:46 -0400
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...
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]