diff --git a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
index 896b7c7..461cf62 100644
--- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
+++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
@@ -452,11 +452,6 @@
Icon enter display time
Amount of time after entering icon to wait before displaying window preview if icon is not clicked or mouse has not left.
-
- 100
- Icon enter move time
- Amount of time after entering icon to wait before moving window preview if icon is not clicked or mouse has not left.
-
true
Enable peek mode
diff --git a/windowPreview.js b/windowPreview.js
index 793002c..f78f383 100644
--- a/windowPreview.js
+++ b/windowPreview.js
@@ -170,12 +170,14 @@ var PreviewMenu = Utils.defineClass({
},
requestOpen: function(appIcon) {
+ let timeout = Me.settings.get_int('show-window-previews-timeout');
+
+ if (this.opened) {
+ timeout = Math.min(100, timeout);
+ }
+
this._endOpenCloseTimeouts();
- this._timeoutsHandler.add([
- T1,
- Me.settings.get_int((this.opened ? 'move' : 'show') + '-window-previews-timeout'),
- () => this.open(appIcon)
- ]);
+ this._timeoutsHandler.add([T1, timeout, () => this.open(appIcon)]);
},
requestClose: function() {