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



commit 188b5e908fab27ba6f11f3deeaeea3cc80f3e8f3
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 | 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]