[gnome-shell/wip/carlosg/no-wacom-leds] windowManager: Do not set Wacom LED state through g-s-d
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/no-wacom-leds] windowManager: Do not set Wacom LED state through g-s-d
- Date: Sat, 13 Feb 2021 14:53:12 +0000 (UTC)
commit acccfe1796ff35ce9e0c9b80d69e196af6ae2f56
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Mar 6 15:34:00 2020 +0100
windowManager: Do not set Wacom LED state through g-s-d
This piece of machinery is going away, in favor of the own kernel's
support.
js/ui/windowManager.js | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index bbe9b5d71f..74168bc415 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -886,7 +886,7 @@ var WindowManager = class {
log(error.message);
});
- global.display.connect('pad-mode-switch', (display, pad, group, mode) => {
+ global.display.connect('pad-mode-switch', (display, pad, _group, _mode) => {
let labels = [];
// FIXME: Fix num buttons
@@ -895,10 +895,8 @@ var WindowManager = class {
labels.push(str ?? '');
}
- if (this._gsdWacomProxy) {
+ if (this._gsdWacomProxy)
this._gsdWacomProxy.SetOLEDLabelsRemote(pad.get_device_node(), labels);
- this._gsdWacomProxy.SetGroupModeLEDRemote(pad.get_device_node(), group, mode);
- }
});
global.display.connect('init-xserver', (display, task) => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]