Re: Bringing a GtkWindow to the current desktop with libwnck
- From: "Brian J. Tarricone" <bjt23 cornell edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: Bringing a GtkWindow to the current desktop with libwnck
- Date: Fri, 03 Jul 2009 02:01:39 -0700
On 2009/07/02 23:27, Jim George wrote:
I tried to get around this using libwnck. I call
wnck_window_get(GDK_WINDOW_XID(main_window->window)), but the
WnckWindow returned is always NULL. The X window ID "seems" to make
sense (it's a large integer), so what am I doing wrong?
Try this:
WnckScreen *wnck_screen = wnck_screen_get_default();
wnck_screen_force_update(wnck_screen);
... before your wnck_window_get() call.
-brian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]