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>
This commit is contained in:
Florian Müllner 2022-01-25 20:31:07 +01:00 committed by Marge Bot
parent eef77abe5b
commit 5135af0750

View File

@ -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,