lookingGlass: Don't pass too many arguments to Clutter.ungrab_*
https://bugzilla.gnome.org/show_bug.cgi?id=680426
This commit is contained in:
parent
ed991f79b1
commit
66197b18b6
@ -555,8 +555,8 @@ const Inspector = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_close: function() {
|
_close: function() {
|
||||||
Clutter.ungrab_pointer(this._eventHandler);
|
Clutter.ungrab_pointer();
|
||||||
Clutter.ungrab_keyboard(this._eventHandler);
|
Clutter.ungrab_keyboard();
|
||||||
this._eventHandler.destroy();
|
this._eventHandler.destroy();
|
||||||
this._eventHandler = null;
|
this._eventHandler = null;
|
||||||
this.emit('closed');
|
this.emit('closed');
|
||||||
|
Loading…
Reference in New Issue
Block a user