mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Revert "add logging to HyprlandService & CompositorService"
This reverts commit 719ef29fe1.
This commit is contained in:
@@ -249,15 +249,11 @@ Singleton {
|
||||
}
|
||||
|
||||
function syncWindows() {
|
||||
const ws = backend && backend.windows ? backend.windows : [];
|
||||
Logger.d("CompositorService", "syncWindows() from backend length:", ws.length);
|
||||
|
||||
windows.clear();
|
||||
const ws = backend.windows;
|
||||
for (var i = 0; i < ws.length; i++) {
|
||||
windows.append(ws[i]);
|
||||
}
|
||||
Logger.d("CompositorService", "syncWindows() model count:", windows.count);
|
||||
|
||||
// Emit signal to notify listeners that window list has been updated
|
||||
windowListChanged();
|
||||
}
|
||||
|
||||
@@ -245,7 +245,6 @@ Item {
|
||||
// Safe window update
|
||||
function safeUpdateWindows() {
|
||||
try {
|
||||
Logger.d("HyprlandService", "safeUpdateWindows() start");
|
||||
const windowsList = [];
|
||||
windowCache = {};
|
||||
|
||||
@@ -304,7 +303,6 @@ Item {
|
||||
}
|
||||
|
||||
windows = toSortedWindowList(windowsList);
|
||||
Logger.d("HyprlandService", "safeUpdateWindows() windows after sort:", windows.length);
|
||||
|
||||
// Resolve focused index from sorted list (order changes after sort)
|
||||
let newFocusedIndex = -1;
|
||||
|
||||
Reference in New Issue
Block a user