mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
grabHelper: Remove unused parameters
Some left-overs from commit b203a95a7 ...
https://bugzilla.gnome.org/show_bug.cgi?id=683546
This commit is contained in:
parent
f6645a41d2
commit
ff31ccdd30
1 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ const GrabHelper = new Lang.Class({
|
|||
this._grabStack.push(params);
|
||||
|
||||
if (params.modal)
|
||||
this._takeModalGrab(hadFocus);
|
||||
this._takeModalGrab();
|
||||
|
||||
if (params.grabFocus)
|
||||
this._takeFocusGrab(hadFocus);
|
||||
|
|
@ -171,7 +171,7 @@ const GrabHelper = new Lang.Class({
|
|||
return true;
|
||||
},
|
||||
|
||||
_takeModalGrab: function(hadFocus) {
|
||||
_takeModalGrab: function() {
|
||||
let firstGrab = (this._modalCount == 0);
|
||||
this._modalCount++;
|
||||
if (!firstGrab)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue