Skip to content

Commit c03e0e0

Browse files
authored
dash2dock compatibility issue: increase hacky delay 50 => 500ms
1 parent b720e9c commit c03e0e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modHideSearchInput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var Mod = class extends mod.Base {
1111
// Dash2Dock would have time to initialize. We need this hack only once, so it disconnects from that signal
1212
// right away.
1313
const onceConnectId = Main.overview.connect('showing', () => {
14-
this.enableTimeoutId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 50, () => {
14+
this.enableTimeoutId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 500, () => {
1515
Main.overview.searchEntry.hide()
1616
delete this.enableTimeoutId
1717
return GLib.SOURCE_REMOVE
@@ -39,4 +39,4 @@ var Mod = class extends mod.Base {
3939

4040
Main.overview.searchEntry.show()
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)