summaryrefslogtreecommitdiff
path: root/src/workspace.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-10-25 04:51:25 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-25 04:51:25 +0000
commitd080f816b6f693871ab69ad2f5f50cba25135bc9 (patch)
treeb0aeed630cdd1cbf3ffc4613b23aeb576d699fbc /src/workspace.h
parentbacc9c0afce144d1a592b4be96d97843f4bc2ab8 (diff)
downloadmetacity-d080f816b6f693871ab69ad2f5f50cba25135bc9.tar.gz
I was using meta_workspace_contains_window() in a number of places where
2001-10-25 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_visible_on_workspace): I was using meta_workspace_contains_window() in a number of places where on_all_workspaces should also have been considered, thus this new function. Fixes bugs such as pinned windows not appearing in the tab order. (meta_window_client_message): use meta_window_visible_on_workspace * src/stack.c (find_tab_forward): ditto (find_tab_backward): ditto (meta_stack_get_tab_next): ditto (meta_stack_get_tab_list): ditto * src/place.c (get_windows_on_same_workspace): ditto * src/keybindings.c (handle_focus_previous): ditto (handle_focus_previous): ditto
Diffstat (limited to 'src/workspace.h')
-rw-r--r--src/workspace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/workspace.h b/src/workspace.h
index e949dd1f..6620eeed 100644
--- a/src/workspace.h
+++ b/src/workspace.h
@@ -39,6 +39,7 @@ void meta_workspace_add_window (MetaWorkspace *workspace,
MetaWindow *window);
void meta_workspace_remove_window (MetaWorkspace *workspace,
MetaWindow *window);
+/* don't confuse with meta_window_visible_on_workspace() */
gboolean meta_workspace_contains_window (MetaWorkspace *workspace,
MetaWindow *window);
void meta_workspace_activate (MetaWorkspace *workspace);