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
@ -160,7 +160,7 @@ const GrabHelper = new Lang.Class({
|
|||||||
this._grabStack.push(params);
|
this._grabStack.push(params);
|
||||||
|
|
||||||
if (params.modal)
|
if (params.modal)
|
||||||
this._takeModalGrab(hadFocus);
|
this._takeModalGrab();
|
||||||
|
|
||||||
if (params.grabFocus)
|
if (params.grabFocus)
|
||||||
this._takeFocusGrab(hadFocus);
|
this._takeFocusGrab(hadFocus);
|
||||||
@ -171,7 +171,7 @@ const GrabHelper = new Lang.Class({
|
|||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
_takeModalGrab: function(hadFocus) {
|
_takeModalGrab: function() {
|
||||||
let firstGrab = (this._modalCount == 0);
|
let firstGrab = (this._modalCount == 0);
|
||||||
this._modalCount++;
|
this._modalCount++;
|
||||||
if (!firstGrab)
|
if (!firstGrab)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user