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:
parent
20b02e738c
commit
7e0087304b
@ -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)
|
||||
{
|
||||
|
@ -71,6 +71,7 @@ MetaFrame *meta_window_get_frame (MetaWindow *window);
|
||||
gboolean meta_window_has_focus (MetaWindow *window);
|
||||
gboolean meta_window_is_shaded (MetaWindow *window);
|
||||
gboolean meta_window_is_override_redirect (MetaWindow *window);
|
||||
gboolean meta_window_is_skip_taskbar (MetaWindow *window);
|
||||
MetaRectangle *meta_window_get_rect (MetaWindow *window);
|
||||
void meta_window_get_outer_rect (const MetaWindow *window, MetaRectangle *rect);
|
||||
MetaScreen *meta_window_get_screen (MetaWindow *window);
|
||||
|
Loading…
Reference in New Issue
Block a user