overview: Use a MetaWindow argument in window-drag-* signals/API

It is quite weird to have those calls/signals using WindowClone as an
argument, it is neater to pass MetaWindows around, and have each user
deal with their own representations of these.

https://bugzilla.gnome.org/show_bug.cgi?id=735972
This commit is contained in:
Carlos Garnacho
2014-09-03 21:55:05 +02:00
committed by Florian Müllner
parent b886656f61
commit 33e35f269f
4 changed files with 14 additions and 14 deletions

View File

@ -63,9 +63,9 @@ const WorkspacesViewBase = new Lang.Class({
}
},
_dragBegin: function(overview, clone) {
_dragBegin: function(overview, window) {
this._inDrag = true;
this._setReservedSlot(clone.metaWindow);
this._setReservedSlot(window);
},
_dragEnd: function() {