Remove use of superfluous MetaWindowActor APIs

This commit is contained in:
Jasper St. Pierre
2013-11-04 21:24:27 -05:00
parent cc4659f5c6
commit 7fcae1e974
2 changed files with 24 additions and 19 deletions

View File

@ -62,7 +62,7 @@ const XdndHandler = new Lang.Class({
let cursorWindow = windows[windows.length - 1];
// FIXME: more reliable way?
if (!cursorWindow.is_override_redirect())
if (!cursorWindow.get_meta_window().is_override_redirect())
return;
let constraint_position = new Clutter.BindConstraint({ coordinate : Clutter.BindCoordinate.POSITION,