Skip to content

Commit 32ea331

Browse files
committed
Fix coords (they are parent relative)
1 parent 7626a96 commit 32ea331

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-
get_relative_transformation_matrix (get_stage ()).transform_rect (rect);
480+
get_parent ().get_relative_transformation_matrix (get_stage ()).transform_rect (rect);
481481
var monitor_index = display.get_monitor_index_for_rect (Mtk.Rectangle.from_graphene_rect (rect, ROUND));
482482
var monitor_scale = display.get_monitor_scale (monitor_index);
483483

0 commit comments

Comments
 (0)