Hey,
I was wondering whether I’ll run into issues if I reparent WindowActors to another Clutter.Actor not only during e.g. animation but for their entire lifetime.
The use case would be to have a dock and panel in another group. While not required this would allow us to do some thing more easily, like put them above fullscreen windows, shell UI etc.
So instead of
- ui group
- window group
- windows
- panels (just special windows, marked with Meta.WaylandClient.make_dock)
- window group
I’d like to do
- ui group
- window group
- windows
- shell group
- panels
- window group
I tested it and it seems to work mostly fine. Also when I had a look through mutter source code, nowhere that I saw relied on WindowActors actually being children of the WindowGroup apart from when they are initially added.
However since mutter is big, scary and complex I wanted to ask whether somebody who knows it better than me could provide some info about negative performance impacts or other issues?
Thanks in advance
P.S. I’m coming from elementary gala so this isn’t gnome shell specific though we have pretty much the same structure with ui group, etc.