[mutter/wayland] MetaWindowActor/wayland: make sure the mapped bit is correctly set
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] MetaWindowActor/wayland: make sure the mapped bit is correctly set
- Date: Thu, 15 Aug 2013 15:44:13 +0000 (UTC)
commit 152d896f755ef191695e359ef77be94591bdadbf
Author: Giovanni Campagna <gcampagn redhat com>
Date: Thu Aug 15 16:45:54 2013 +0200
MetaWindowActor/wayland: make sure the mapped bit is correctly set
Otherwise it stays FALSE for OR windows, causing the shape region
to be empty and the actor culled from drawing.
https://bugzilla.gnome.org/show_bug.cgi?id=706078
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 6949fcc..0e233db 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -1583,13 +1583,13 @@ meta_window_actor_new (MetaWindow *window)
NULL);
priv = self->priv;
+ priv->mapped = meta_window_toplevel_is_mapped (priv->window);
if (!meta_is_wayland_compositor ())
{
priv->last_width = -1;
priv->last_height = -1;
- priv->mapped = meta_window_toplevel_is_mapped (priv->window);
if (priv->mapped)
meta_window_actor_queue_create_x11_pixmap (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]