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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user