mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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:
parent
eef77abe5b
commit
5135af0750
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue