diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-11-17 15:35:15 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-11-17 18:04:01 +0100 |
commit | 0955e27721e83bd92d982a066fd092f5e338ad31 (patch) | |
tree | b1294dccf7505b8ab14245d8b199651bc78f2c38 | |
parent | 3567820a874e9fe66ddef2da688a970b61ebc829 (diff) | |
download | gnome-shell-wip/carlosg/no-device-id.tar.gz |
js/shellDbus: Do not forward device IDswip/carlosg/no-device-id
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
-rw-r--r-- | js/ui/shellDBus.js | 7 |
1 files 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) |