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:
Jasper St. Pierre 2012-06-07 23:31:21 -04:00
parent 4041f96ed3
commit 66eac7824a

View File

@ -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);