Use MetaWindow.get_frame_rect()

get_outer_rect() has been deprecated for a while, use the new
function instead.
This commit is contained in:
Florian Müllner
2014-09-18 22:02:45 +01:00
parent 4f08bebbf0
commit 2b9645b268
5 changed files with 8 additions and 8 deletions

View File

@ -413,7 +413,7 @@ const TilePreview = new Lang.Class({
y: monitor.y,
width: monitor.width,
height: monitor.height });
let [, rect] = window.get_outer_rect().intersect(monitorRect);
let [, rect] = window.get_frame_rect().intersect(monitorRect);
this.actor.set_size(rect.width, rect.height);
this.actor.set_position(rect.x, rect.y);
this.actor.opacity = 0;