[gnome-shell/wip/carlosg/no-device-id] js/shellDbus: Do not forward device IDs




commit f1d712dc3a89c0a048f932c80fb9d76ed5b65df4
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.

 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..bac9caa095 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]