mirror of
https://github.com/elementary/gala.git
synced 2024-10-27 00:12:08 +03:00
make sure we actually have an actor for a window
This commit is contained in:
parent
168fed98b9
commit
8cd230a0ee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user