[gnome-shell/wip/fix-screen-shield-motion-handler-leak: 5/5] Apply 1 suggestion(s) to 1 file(s)
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fix-screen-shield-motion-handler-leak: 5/5] Apply 1 suggestion(s) to 1 file(s)
- Date: Thu, 8 Oct 2020 13:27:03 +0000 (UTC)
commit 9cb128ed943a57a2cf05fbc555c6eb5ba7e15a7e
Author: Ray Strode <halfline gmail com>
Date: Thu Oct 8 13:26:40 2020 +0000
Apply 1 suggestion(s) to 1 file(s)
js/ui/screenShield.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 52baae8ff2..fa3a7a8167 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -347,7 +347,7 @@ var ScreenShield = class {
_hidePointerUntilMotion() {
this._motionId = global.stage.connect('captured-event', (stage, event) => {
- if (event.type() == Clutter.EventType.MOTION)
+ if (event.type() === Clutter.EventType.MOTION)
this._showPointer();
return Clutter.EVENT_PROPAGATE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]