[gnome-shell/wip/carlosg/no-wacom-leds] windowManager: Do not set Wacom LED state through g-s-d



commit 8a9ec9d176c4aac9768075053ea21389f48e1224
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.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1075

 js/ui/windowManager.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 9e15ba70a8..8ec3428b95 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -890,10 +890,8 @@ var WindowManager = class {
                 labels.push(str ? 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]