cleanup: Avoid unnecessary braces
Our coding style has always been to avoid braces when all blocks are single-lines. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
69f63dc94f
commit
67ea424525
@ -1588,15 +1588,13 @@ class Workspace extends St.Widget {
|
||||
}
|
||||
|
||||
_windowEnteredMonitor(metaDisplay, monitorIndex, metaWin) {
|
||||
if (monitorIndex == this.monitorIndex) {
|
||||
if (monitorIndex == this.monitorIndex)
|
||||
this._doAddWindow(metaWin);
|
||||
}
|
||||
}
|
||||
|
||||
_windowLeftMonitor(metaDisplay, monitorIndex, metaWin) {
|
||||
if (monitorIndex == this.monitorIndex) {
|
||||
if (monitorIndex == this.monitorIndex)
|
||||
this._doRemoveWindow(metaWin);
|
||||
}
|
||||
}
|
||||
|
||||
// check for maximized windows on the workspace
|
||||
|
Reference in New Issue
Block a user