Skip to content

Commit c5caceb

Browse files
committed
Try something about fedora
1 parent 7626a96 commit c5caceb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Widgets/WindowClone.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ public class Gala.WindowClone : Clutter.Actor {
477477
close_button.allocate (close_button_alloc);
478478

479479
var rect = Graphene.Rect ().init (box.get_x (), box.get_y (), box.get_width (), box.get_height ());
480-
get_relative_transformation_matrix (get_stage ()).transform_rect (rect);
480+
var matrix = get_relative_transformation_matrix ((Clutter.Actor) get_stage ());
481+
matrix.transform_rect (rect);
481482
var monitor_index = display.get_monitor_index_for_rect (Mtk.Rectangle.from_graphene_rect (rect, ROUND));
482483
var monitor_scale = display.get_monitor_scale (monitor_index);
483484

0 commit comments

Comments
 (0)