mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
autofmt
This commit is contained in:
@@ -168,15 +168,15 @@ Item {
|
||||
if (followFocusedScreen) {
|
||||
for (var i = 0; i < CompositorService.workspaces.count; i++) {
|
||||
const ws = CompositorService.workspaces.get(i);
|
||||
if (ws.isFocused) focusedOutput = ws.output.toLowerCase();
|
||||
if (ws.isFocused)
|
||||
focusedOutput = ws.output.toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
if (screen !== null) {
|
||||
for (var i = 0; i < CompositorService.workspaces.count; i++) {
|
||||
const ws = CompositorService.workspaces.get(i);
|
||||
if ((followFocusedScreen && ws.output.toLowerCase() == focusedOutput) ||
|
||||
(!followFocusedScreen && ws.output.toLowerCase() == screen.name.toLowerCase())) {
|
||||
if ((followFocusedScreen && ws.output.toLowerCase() == focusedOutput) || (!followFocusedScreen && ws.output.toLowerCase() == screen.name.toLowerCase())) {
|
||||
if (hideUnoccupied && !ws.isOccupied && !ws.isFocused) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user