mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Merge pull request #745 from korelstar/fix-old-gnome
fix error on Gnome 3.22.2
This commit is contained in:
6
panel.js
6
panel.js
@@ -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());
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user