[gnome-shell/wip/carlosg/no-device-id] js/shellDbus: Do not forward device IDs
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/no-device-id] js/shellDbus: Do not forward device IDs
- Date: Tue, 17 Nov 2020 16:58:58 +0000 (UTC)
commit 465bf5ed3f797f64dd6fa987346931e5f9de1440
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 17 15:35:15 2020 +0100
js/shellDbus: Do not forward device IDs
We already pass the device event node path for identification purposes,
we can stop doing that here.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1501
js/ui/shellDBus.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js
index 75a2f341d0..e75034a6f3 100644
--- a/js/ui/shellDBus.js
+++ b/js/ui/shellDBus.js
@@ -151,9 +151,10 @@ var GnomeShell = class {
let connection = this._dbusImpl.get_connection();
let info = this._dbusImpl.get_info();
- let params = { 'device-id': GLib.Variant.new('u', device.get_device_id()),
- 'timestamp': GLib.Variant.new('u', timestamp),
- 'action-mode': GLib.Variant.new('u', Main.actionMode) };
+ let params = {
+ 'timestamp': GLib.Variant.new('u', timestamp),
+ 'action-mode': GLib.Variant.new('u', Main.actionMode)
+ };
let deviceNode = device.get_device_node();
if (deviceNode)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]