From 51ff9ce44427014989071297e497174c3b5a6b83 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 17 Nov 2020 15:35:15 +0100 Subject: [PATCH] js/shellDbus: Do not forward device IDs We already pass the device event node path for identification purposes, we can stop doing that here. Part-of: --- 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 75a2f341d..bac9caa09 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)