Fix #1184: handle swipes properly

This commit is contained in:
l3nn4rt
2020-09-23 18:44:16 +02:00
parent 7d931b1fb4
commit ecdd7dbbed

View File

@@ -479,7 +479,7 @@ var dtpOverview = Utils.defineClass({
});
Main.overview._overview.add_action(this._clickAction);
[Main.overview.viewSelector._workspacesDisplay].concat(views).forEach(v => {
[Main.overview.viewSelector._workspacesDisplay].concat(views.map(v => v.view)).forEach(v => {
if (v._swipeTracker) {
this._signalsHandler.addWithLabel('clickToExit', [
v._swipeTracker,