AppMenuButton: bind "can-focus" to "reactive"
When changing to an empty workspace we make the AppMenuButton invisible but the user could still get to the menu using keyboard navigation. https://bugzilla.gnome.org/show_bug.cgi?id=643867
This commit is contained in:
parent
21e2280825
commit
bdd65fe755
@ -249,6 +249,7 @@ const AppMenuButton = new Lang.Class({
|
|||||||
let bin = new St.Bin({ name: 'appMenu' });
|
let bin = new St.Bin({ name: 'appMenu' });
|
||||||
this.actor.add_actor(bin);
|
this.actor.add_actor(bin);
|
||||||
|
|
||||||
|
this.actor.bind_property("reactive", this.actor, "can-focus", 0);
|
||||||
this.actor.reactive = false;
|
this.actor.reactive = false;
|
||||||
this._targetIsCurrent = false;
|
this._targetIsCurrent = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user