layout: Only emit fullscreen-changed if things actually changed
This prevents the message tray from doing a lot of work that it doesn't need to.
This commit is contained in:
@ -1066,7 +1066,8 @@ const LayoutManager = new Lang.Class({
|
||||
}
|
||||
}
|
||||
|
||||
this.emit('fullscreen-changed');
|
||||
if (changed)
|
||||
this.emit('fullscreen-changed');
|
||||
},
|
||||
|
||||
_updateRegions: function() {
|
||||
|
Reference in New Issue
Block a user