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 _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list