meta-window-actor: Don't unredirect shaped windows
If a window has its BoundingRegion shaped, we shouldn't unredirect it, as it expects the rest of the windows from being shown under it. This prevents applications like the Skype screen recorder or gtkRecordMyDesktop which want to show a "border" around the recorded area from being unredirected, giving the appearance of making the desktop freeze. https://bugzilla.gnome.org/show_bug.cgi?id=677657
This commit is contained in:
parent
4041f96ed3
commit
66eac7824a
@ -1202,6 +1202,9 @@ meta_window_actor_should_unredirect (MetaWindowActor *self)
|
||||
if (priv->argb32)
|
||||
return FALSE;
|
||||
|
||||
if (metaWindow->has_shape)
|
||||
return FALSE;
|
||||
|
||||
meta_screen_get_size (screen, &screen_width, &screen_height);
|
||||
meta_window_get_outer_rect (metaWindow, &window_rect);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user