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:
parent
aa482e6d4f
commit
8181454af5
@ -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)
|
||||
{
|
||||
|
@ -65,5 +65,6 @@ ClutterActor * meta_window_actor_get_texture (MetaWindowActor *self
|
||||
gboolean meta_window_actor_is_override_redirect (MetaWindowActor *self);
|
||||
const char * meta_window_actor_get_description (MetaWindowActor *self);
|
||||
gboolean meta_window_actor_showing_on_its_workspace (MetaWindowActor *self);
|
||||
gboolean meta_window_actor_is_destroyed (MetaWindowActor *self);
|
||||
|
||||
#endif /* META_WINDOW_ACTOR_H */
|
||||
|
Loading…
Reference in New Issue
Block a user