AlternateTab: make it work with the mouse.

Patch provided by Thomas Bouffon <thomas.bouffon@gmail.com>
This commit is contained in:
Giovanni Campagna
2011-02-23 18:22:08 +01:00
parent b289b0fdee
commit 349d1f5e52
+1
View File
@@ -92,6 +92,7 @@ AltTabPopup2.prototype = {
this.actor.connect('scroll-event', Lang.bind(this, this._onScroll));
this._appSwitcher = new WindowList(windows);
this._appSwitcher._altTabPopup=this;
this._appSwitcher.highlight(0,false);
this.actor.add_actor(this._appSwitcher.actor);
this._appSwitcher.connect('item-activated', Lang.bind(this, this._appActivated));