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




commit cc5b795af5e521892da7a4b83035edaa5aaa0a16
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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js
index 75a2f341d0..55f2becdfa 100644
--- a/js/ui/shellDBus.js
+++ b/js/ui/shellDBus.js
@@ -151,8 +151,7 @@ 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),
+        let params = { 'timestamp': GLib.Variant.new('u', timestamp),
                        'action-mode': GLib.Variant.new('u', Main.actionMode) };
 
         let deviceNode = device.get_device_node();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]