[mutter] window-actor: Consider needs_destroy in is_destroyed()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window-actor: Consider needs_destroy in is_destroyed()
- Date: Thu, 11 Sep 2014 15:51:25 +0000 (UTC)
commit d50f8afa9e4fe624a205cf85d64ec993c07b2179
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 10 22:43:14 2014 +0200
window-actor: Consider needs_destroy in is_destroyed()
According to the documentation, the method returns "whether the X window
that the actor was displaying has been destroyed" - that is very much
true when we delay the actual actor destruction for a destroy animation,
so update the method accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=735927
src/compositor/meta-window-actor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 7b9d3a5..278f0c8 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -865,7 +865,7 @@ meta_window_actor_get_surface (MetaWindowActor *self)
gboolean
meta_window_actor_is_destroyed (MetaWindowActor *self)
{
- return self->priv->disposed;
+ return self->priv->disposed || self->priv->needs_destroy;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]