mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 4 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue