Skip to content

Commit bb66568

Browse files
committed
Fix merge
1 parent 41e9e56 commit bb66568

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Widgets/WindowClone.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ public class Gala.WindowClone : Clutter.Actor {
478478

479479
var rect = Graphene.Rect ().init (box.get_x (), box.get_y (), box.get_width (), box.get_height ());
480480
get_relative_transformation_matrix (get_stage ()).transform_rect (rect);
481-
var monitor_index = wm.get_display ().get_monitor_index_for_rect (Mtk.Rectangle.from_graphene_rect (rect, ROUND));
482-
var monitor_scale = wm.get_display ().get_monitor_scale (monitor_index);
481+
var monitor_index = display.get_monitor_index_for_rect (Mtk.Rectangle.from_graphene_rect (rect, ROUND));
482+
var monitor_scale = display.get_monitor_scale (monitor_index);
483483

484484
float window_title_max_width = box.get_width () - InternalUtils.scale_to_int (TITLE_MAX_WIDTH_MARGIN, monitor_scale);
485485
float window_title_height, window_title_nat_width;

0 commit comments

Comments
 (0)