cleanup: Remove some unhelpful unused arguments
Those unused arguments aren't bugs - unbeknownst to eslint, they all correspond to valid signal parameters - but they don't contribute anything to clarity, so just remove them anyway. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
@ -72,13 +72,13 @@ var PointerWatcher = class {
|
||||
}
|
||||
}
|
||||
|
||||
_onIdleMonitorBecameActive(monitor) {
|
||||
_onIdleMonitorBecameActive() {
|
||||
this._idle = false;
|
||||
this._updatePointer();
|
||||
this._updateTimeout();
|
||||
}
|
||||
|
||||
_onIdleMonitorBecameIdle(monitor) {
|
||||
_onIdleMonitorBecameIdle() {
|
||||
this._idle = true;
|
||||
this._idleMonitor.add_user_active_watch(this._onIdleMonitorBecameActive.bind(this));
|
||||
this._updateTimeout();
|
||||
@ -108,7 +108,7 @@ var PointerWatcher = class {
|
||||
}
|
||||
|
||||
_updatePointer() {
|
||||
let [x, y, mods] = global.get_pointer();
|
||||
let [x, y] = global.get_pointer();
|
||||
if (this.pointerX == x && this.pointerY == y)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user