[gnome-shell-extensions] window-list: Fix resetting handler ID
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] window-list: Fix resetting handler ID
- Date: Sat, 29 Jun 2019 00:59:59 +0000 (UTC)
commit 2ef6dba0a58c24c80eea26d4d72ec2f8dbb54c10
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Jun 29 02:52:45 2019 +0200
window-list: Fix resetting handler ID
This is embarrassing, although destroy() is expected to only run once,
so the bug shouldn't have an effect in practice.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/78
extensions/window-list/windowPicker.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js
index 024fd80..cd0644d 100644
--- a/extensions/window-list/windowPicker.js
+++ b/extensions/window-list/windowPicker.js
@@ -255,6 +255,6 @@ class WindowPickerToggle extends St.Button {
_onDestroy() {
if (this._overlayKeyId)
global.display.disconnect(this._overlayKeyId);
- this._overlayKeyId == 0;
+ this._overlayKeyId = 0;
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]