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
This commit is contained in:
parent
2f3a5f2001
commit
152d896f75
@ -1583,13 +1583,13 @@ meta_window_actor_new (MetaWindow *window)
|
|||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
priv = self->priv;
|
priv = self->priv;
|
||||||
|
priv->mapped = meta_window_toplevel_is_mapped (priv->window);
|
||||||
|
|
||||||
if (!meta_is_wayland_compositor ())
|
if (!meta_is_wayland_compositor ())
|
||||||
{
|
{
|
||||||
priv->last_width = -1;
|
priv->last_width = -1;
|
||||||
priv->last_height = -1;
|
priv->last_height = -1;
|
||||||
|
|
||||||
priv->mapped = meta_window_toplevel_is_mapped (priv->window);
|
|
||||||
if (priv->mapped)
|
if (priv->mapped)
|
||||||
meta_window_actor_queue_create_x11_pixmap (self);
|
meta_window_actor_queue_create_x11_pixmap (self);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user