Skip to content

Commit 5798c65

Browse files
committed
Fix coords
1 parent c5caceb commit 5798c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widgets/WindowClone.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ 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-
var matrix = get_relative_transformation_matrix ((Clutter.Actor) get_stage ());
480+
var matrix = get_parent ().get_relative_transformation_matrix (get_stage ());
481481
matrix.transform_rect (rect);
482482
var monitor_index = display.get_monitor_index_for_rect (Mtk.Rectangle.from_graphene_rect (rect, ROUND));
483483
var monitor_scale = display.get_monitor_scale (monitor_index);

0 commit comments

Comments
 (0)