Merge branch 'uigroup-size' into 'main'

layout: Update size of uiGroup upon monitors-changed event

See merge request GNOME/gnome-shell!3339
This commit is contained in:
Weifeng Liu 2024-06-28 09:15:34 +00:00
commit 5e20193ed2

View file

@ -566,6 +566,10 @@ export const LayoutManager = GObject.registerClass({
this.keyboardIndex = this.primaryIndex;
}
_updateUiGroups() {
this.uiGroup.set_size(global.screen_width, global.screen_height);
}
_panelBoxChanged() {
this._updatePanelBarrier();
@ -604,6 +608,7 @@ export const LayoutManager = GObject.registerClass({
_monitorsChanged() {
this._updateMonitors();
this._updateBoxes();
this._updateUiGroups();
this._updateHotCorners();
this._updateBackgrounds();
this._updateFullscreen();