Compare commits

...

1 Commits

Author SHA1 Message Date
Carlos Garnacho
2407d373b7 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.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1075
2020-03-06 15:46:13 +01:00

View File

@ -881,7 +881,7 @@ var WindowManager = class {
log(error.message); 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 = []; let labels = [];
// FIXME: Fix num buttons // FIXME: Fix num buttons
@ -890,10 +890,8 @@ var WindowManager = class {
labels.push(str ? str : ''); labels.push(str ? str : '');
} }
if (this._gsdWacomProxy) { if (this._gsdWacomProxy)
this._gsdWacomProxy.SetOLEDLabelsRemote(pad.get_device_node(), labels); this._gsdWacomProxy.SetOLEDLabelsRemote(pad.get_device_node(), labels);
this._gsdWacomProxy.SetGroupModeLEDRemote(pad.get_device_node(), group, mode);
}
}); });
global.display.connect('init-xserver', (display, task) => { global.display.connect('init-xserver', (display, task) => {