make sure we actually have an actor for a window

This commit is contained in:
Tom Beckmann 2013-05-20 14:34:14 +02:00
parent 168fed98b9
commit 8cd230a0ee

View File

@ -367,6 +367,9 @@ namespace Gala
var ordered = screen.get_display ().sort_windows_by_stacking (list);
foreach (var window in ordered) {
var actor = window.get_compositor_private () as WindowActor;
if (actor == null)
continue;
var clone = new Clone (actor.get_texture ());
clone.width = aspect * clone.width;
clone.height = aspect * clone.height;