mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
window: Add an accessor for whether the window can close
The shell will use this to determine whether to show a close button in the overview. https://bugzilla.gnome.org/show_bug.cgi?id=699269
This commit is contained in:
@ -11218,3 +11218,9 @@ meta_window_compute_tile_match (MetaWindow *window)
|
||||
window->tile_match = match;
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_window_can_close (MetaWindow *window)
|
||||
{
|
||||
return window->has_close_func;
|
||||
}
|
||||
|
Reference in New Issue
Block a user