Merge pull request #5 from jderose9/freeze-fix

async popup stealing focus on window activations
This commit is contained in:
Artyom Zorin
2017-01-08 19:58:28 +00:00
committed by GitHub
+2 -2
View File
@@ -109,7 +109,7 @@ const thumbnailPreviewMenu = new Lang.Class({
this.shouldOpen = true;
this.shouldClose = false;
Mainloop.timeout_add(Taskbar.DASH_ITEM_HOVER_TIMEOUT, Lang.bind(this, this.hoverOpen));
this.hoverOpen();
},
_onMenuLeave: function () {
@@ -122,7 +122,7 @@ const thumbnailPreviewMenu = new Lang.Class({
this.shouldOpen = true;
this.shouldClose = false;
Mainloop.timeout_add(Taskbar.DASH_ITEM_HOVER_TIMEOUT, Lang.bind(this, this.hoverOpen));
this.hoverOpen();
},
_onLeave: function () {