Re: Libwnck usage

2010-03-09 Thread Nischal Rao
Found out what the problem is [1]. The problem can be solved by calling wnck_screen_force_update(WnckScreen * screen) after calling the wnck_screen_get_default() function. [1] http://markmail.org/message/b25hrpdrhuk442lh#query:metacity%20and%20libwnck+page:1+mid:krry36goifuchhcs+state:results On

Libwnck usage

2010-03-09 Thread Nischal Rao
Hi, Pardon me if this is not the right mailing list. I am trying to run a simple code to minimize an open window using the libwnck api. But I keep getting the following error: (mywnck1:1839): Wnck-CRITICAL **: wnck_window_minimize: assertion `WNCK_IS_WINDOW (window)' failed I have attached my pr