mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
Don't unredirect non fully opaque windows
When a window is set to be translucent with _NET_WM_WINDOW_OPACITY it shouldn't be unredirected as this will cause the hint to have no effect.
This commit is contained in:
parent
6923973c8a
commit
abde64cb0c
@ -1218,7 +1218,7 @@ meta_window_actor_should_unredirect (MetaWindowActor *self)
|
||||
MetaWindow *metaWindow = meta_window_actor_get_meta_window (self);
|
||||
MetaScreen *screen = meta_window_get_screen (metaWindow);
|
||||
|
||||
if (meta_window_is_override_redirect (metaWindow))
|
||||
if (meta_window_is_override_redirect (metaWindow) && self->priv->opacity == 0xff)
|
||||
{
|
||||
int screen_width, screen_height;
|
||||
MetaRectangle window_rect;
|
||||
|
Loading…
Reference in New Issue
Block a user