c26860dcb7
For the windowPreview we need to ensure the style information of the border and title is up-to-date when chromeWidths() or chromeHeights() is called. Since the introduction of the WorkspaceLayout those functions may be called during an allocation cycle, which means we should avoid calling queuing relayouts inside them. Calling StWidgets ensure_style() method will queue a relayout though in case the newly generated theme node has a different geometry. So avoid queueing a relayout during allocation cycles (and the warning Clutter logs because of that) by ensuring the style of the border and title earlier, as soon as the WindowPreview is attached to a stage. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1305 |
||
---|---|---|
.. | ||
dbusServices | ||
gdm | ||
misc | ||
perf | ||
portalHelper | ||
ui | ||
js-resources.gresource.xml | ||
meson.build | ||
portal-resources.gresource.xml |