diff options
author | Brian Tarricone <brian@tarricone.org> | 2004-11-20 11:40:37 +0000 |
---|---|---|
committer | Brian Tarricone <brian@tarricone.org> | 2004-11-20 11:40:37 +0000 |
commit | 94e21b0970fd6dddc7543053c06c2736d8573966 (patch) | |
tree | 2bddbf617ac8714b041d4eca10b7bc1129d961c6 | |
parent | 98d84012adc547912736baa14787d9d80806ba6b (diff) | |
download | xfdesktop-94e21b0970fd6dddc7543053c06c2736d8573966.tar.gz |
i'm sorry for smoking crack while coding. windowlist shows sticky
windows now (bug 518).
(Old svn revision: 7980)
-rw-r--r-- | src/windowlist.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/windowlist.c b/src/windowlist.c index b251e574..fb7d5926 100644 --- a/src/windowlist.c +++ b/src/windowlist.c @@ -207,17 +207,16 @@ windowlist_create(GdkScreen *gscreen) for(l = windows; l; l = l->next) { netk_window = l->data; - if(netk_window_get_workspace(netk_window) != netk_workspace - || (netk_window_is_sticky(netk_window) - && netk_workspace != active_workspace) + if((netk_window_get_workspace(netk_window) != netk_workspace + && !netk_window_is_sticky(netk_window)) || netk_window_is_skip_pager(netk_window) || netk_window_is_skip_tasklist(netk_window)) { - /* the window isn't on the current WS, + /* the window isn't on the current WS AND isn't sticky, * OR, - * the window is sticky and is not on the active workspace, + * the window is set to skip the pager, * OR, - * the window is set to skip the pager or tasklist + * the window is set to skip the tasklist */ continue; } |