mirror of
https://github.com/brl/mutter.git
synced 2025-07-23 18:11:23 +00:00
MetaWindowActor: Add meta_window_actor_is_destroyed
Add a meta_window_actor_is_destroyed method which gets whether the X window that the actor was displaying has been destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=639853
This commit is contained in:
@ -883,6 +883,19 @@ meta_window_actor_get_texture (MetaWindowActor *self)
|
||||
return self->priv->actor;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_window_actor_is_destroyed:
|
||||
*
|
||||
* Gets whether the X window that the actor was displaying has been destroyed
|
||||
*
|
||||
* Return value: %TRUE when the window is destroyed, otherwise %FALSE
|
||||
*/
|
||||
gboolean
|
||||
meta_window_actor_is_destroyed (MetaWindowActor *self)
|
||||
{
|
||||
return self->priv->disposed;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_window_actor_is_override_redirect (MetaWindowActor *self)
|
||||
{
|
||||
|
Reference in New Issue
Block a user