Merge pull request #745 from korelstar/fix-old-gnome

fix error on Gnome 3.22.2
This commit is contained in:
Charles Gagnon
2019-09-25 20:48:24 -04:00
committed by GitHub

View File

@@ -364,7 +364,7 @@ var dtpPanel = Utils.defineClass({
this._rightBox,
'notify::allocation',
() => this._refreshVerticalAlloc()
],
]
);
}
@@ -815,7 +815,7 @@ var dtpPanel = Utils.defineClass({
return Clutter.EVENT_STOP;
},
_getDraggableWindowForPosition(stageCoord, coord, dimension, maximizedProp) {
_getDraggableWindowForPosition: function(stageCoord, coord, dimension, maximizedProp) {
let workspace = Utils.getCurrentWorkspace();
let allWindowsByStacking = global.display.sort_windows_by_stacking(
workspace.list_windows()
@@ -1180,4 +1180,4 @@ var dtpSecondaryAggregateMenu = Utils.defineClass({
setMenuArrow(this._indicators.get_last_child(), getPosition());
},
});
});