summaryrefslogtreecommitdiff
path: root/src/window.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/window.h
parentbacc9c0afce144d1a592b4be96d97843f4bc2ab8 (diff)
downloadmetacity-d080f816b6f693871ab69ad2f5f50cba25135bc9.tar.gz
metacity-d080f816b6f693871ab69ad2f5f50cba25135bc9.tar.bz2
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/window.h')
-rw-r--r--src/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 91c4ad0..f3118d8 100644
--- a/src/window.h
+++ b/src/window.h
@@ -335,4 +335,7 @@ void meta_window_set_gravity (MetaWindow *window,
void meta_window_handle_mouse_grab_op_event (MetaWindow *window,
XEvent *event);
+gboolean meta_window_visible_on_workspace (MetaWindow *window,
+ MetaWorkspace *workspace);
+
#endif