Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
wnck_window_is_minimized(WnckWindow *window) does not work with JWM. #133
wnck_window_is_minimized returns 0 always in JWM.
//gcc wnck.c $(pkg-config --cflags --libs libwnck-3.0) -o wnck
int main (int argc, char **argv)
gdk_init (&argc, &argv);
screen = wnck_screen_get_default ();
for (list = wnck_screen_get_windows (screen); list != NULL; list = list->next)
added a commit
Aug 30, 2014
Yeah, libwnck is plain stupid. All it has to do is to check WM_STATE to see whether a window is iconic (in accordance with ICCCM 2.0), however, it misinteprets the _NET_WM_STATE_HIDDEN atom instead. I have a libwnck fork that works much better, but still hasn't been fixed in this regard.