diff --git a/Settings.ui b/Settings.ui index fa83fc7..5a702bd 100644 --- a/Settings.ui +++ b/Settings.ui @@ -2308,7 +2308,7 @@ True False True - Time (ms) before showing (100 is default) + Time (ms) before showing (300 is default) True 0 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 d40ca56..896b7c7 100644 --- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml +++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml @@ -448,10 +448,15 @@ Show or hide favorite application icons in the dash - 100 + 300 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 75f2270..793002c 100644 --- a/windowPreview.js +++ b/windowPreview.js @@ -171,7 +171,11 @@ var PreviewMenu = Utils.defineClass({ requestOpen: function(appIcon) { this._endOpenCloseTimeouts(); - this._timeoutsHandler.add([T1, Me.settings.get_int('show-window-previews-timeout'), () => this.open(appIcon)]); + this._timeoutsHandler.add([ + T1, + Me.settings.get_int((this.opened ? 'move' : 'show') + '-window-previews-timeout'), + () => this.open(appIcon) + ]); }, requestClose: function() {