updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libwnck-sticky / sticky.patch
blob04338445c87634b06497fb174787141b86d4e260
1 --- libwnck-2.28.0/libwnck/pager.c.orig 2009-12-28 22:57:40.000000000 -0500
2 +++ libwnck-2.28.0/libwnck/pager.c 2009-12-28 22:57:42.000000000 -0500
3 @@ -722,7 +722,7 @@
4 for (tmp = windows; tmp != NULL; tmp = tmp->next)
6 WnckWindow *win = WNCK_WINDOW (tmp->data);
7 - if (wnck_pager_window_get_workspace (win, TRUE) == workspace_num)
8 + if ((wnck_pager_window_get_workspace (win, TRUE) == workspace_num) || ((wnck_pager_window_get_workspace (win, TRUE) >= 0) && (wnck_window_is_pinned(win))))
9 result = g_list_prepend (result, win);