overview: Clean up overview code
The comment here is a liar. We certainly can handle failure using _syncInputMode(). https://bugzilla.gnome.org/show_bug.cgi?id=688589
This commit is contained in:
parent
14fb51e6d7
commit
e48dbe65f1
@ -434,12 +434,11 @@ const Overview = new Lang.Class({
|
||||
return;
|
||||
if (this._shown)
|
||||
return;
|
||||
// Do this manually instead of using _syncInputMode, to handle failure
|
||||
if (!Main.pushModal(this._group, { keybindingMode: Main.KeybindingMode.OVERVIEW }))
|
||||
return;
|
||||
this._modal = true;
|
||||
this._animateVisible();
|
||||
this._shown = true;
|
||||
this._syncInputMode();
|
||||
if (!this._modal)
|
||||
return;
|
||||
this._animateVisible();
|
||||
},
|
||||
|
||||
fadeInDesktop: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user