[gnome-shell] osdWindow: Don't inherit from St.Widget



commit 5135af0750683dd88f4a23f704d162f876632a76
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Jan 25 20:31:07 2022 +0100

    osdWindow: Don't inherit from St.Widget
    
    We don't apply any styling to the toplevel OSD actor, so we can just
    as well avoid the style machinery and use a plain actor.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2127>

 js/ui/osdWindow.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/osdWindow.js b/js/ui/osdWindow.js
index bae4b862ad..ce33c069ce 100644
--- a/js/ui/osdWindow.js
+++ b/js/ui/osdWindow.js
@@ -42,7 +42,7 @@ class OsdWindowConstraint extends Clutter.Constraint {
 });
 
 var OsdWindow = GObject.registerClass(
-class OsdWindow extends St.Widget {
+class OsdWindow extends Clutter.Actor {
     _init(monitorIndex) {
         super._init({
             x_expand: true,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]