Add meta_window_is_skip_taskbar

Accessor for the 'skip-taskbar', which will allow gnome-shell not to
consider windows with this hint in its overview thunbnails.
This commit is contained in:
Steve Frécinaux
2009-08-28 18:39:55 +02:00
parent 20b02e738c
commit 7e0087304b
2 changed files with 17 additions and 0 deletions

View File

@ -8605,6 +8605,22 @@ meta_window_is_override_redirect (MetaWindow *window)
return window->override_redirect;
}
/**
* meta_window_is_skip_taskbar:
* @window: A #MetaWindow
*
* Gets whether this window should be ignored by task lists.
*
* Return value: %TRUE if the skip bar hint is set.
*/
gboolean
meta_window_is_skip_taskbar (MetaWindow *window)
{
g_return_val_if_fail (META_IS_WINDOW (window), FALSE);
return window->skip_taskbar;
}
MetaRectangle *
meta_window_get_rect (MetaWindow *window)
{