From f4c255952f59a776233cd799937846dfdca0e7ae Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Thu, 19 Mar 2020 12:16:09 +0200 Subject: [PATCH] disable some debug messages --- app/wm/tracker/windowstracker.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/wm/tracker/windowstracker.cpp b/app/wm/tracker/windowstracker.cpp index 50159298a..66a24a3ec 100644 --- a/app/wm/tracker/windowstracker.cpp +++ b/app/wm/tracker/windowstracker.cpp @@ -837,7 +837,7 @@ void Windows::updateHints(Latte::View *view) WindowId touchWinId; WindowId activeTouchWinId; - qDebug() << " -- TRACKING REPORT (SCREEN)--"; + //qDebug() << " -- TRACKING REPORT (SCREEN)--"; //! First Pass for (const auto &winfo : m_windows) { @@ -851,8 +851,8 @@ void Windows::updateHints(Latte::View *view) continue; } - qDebug() << " _ _ _ "; - qDebug() << "TRACKING | WINDOW INFO :: " << winfo.wid() << " _ " << winfo.appName() << " _ " << winfo.geometry() << " _ " << winfo.display(); + //qDebug() << " _ _ _ "; + //qDebug() << "TRACKING | WINDOW INFO :: " << winfo.wid() << " _ " << winfo.appName() << " _ " << winfo.geometry() << " _ " << winfo.display(); if (isActive(winfo)) { foundActive = true; @@ -885,8 +885,8 @@ void Windows::updateHints(Latte::View *view) } } - qDebug() << "TRACKING | ACTIVE:"<< foundActive << " ACT_CUR_SCR:" << foundTouchInCurScreen << " MAXIM:"<inCurrentDesktopActivity(winfo) || m_wm->isRegisteredPlasmaIgnoredWindow(winfo.wid()) - || winfo.isMinimized())) { + || winfo.isMinimized()) { continue; } @@ -965,12 +965,12 @@ void Windows::updateHints(Latte::View *view) } //! Debug - qDebug() << "TRACKING | _________ FINAL RESULTS ________"; - qDebug() << "TRACKING | SCREEN: " << view->positioner()->currentScreenId() << " , EDGE:" << view->location() << " , ENABLED:" << enabled(view); - qDebug() << "TRACKING | activeWindowTouching: " << foundActiveTouchInCurScreen << " ,activeWindowMaximized: " << activeWindowMaximized(view); - qDebug() << "TRACKING | existsWindowActive: " << foundActiveInCurScreen << " , existsWindowMaximized:" << existsWindowMaximized(view) - << " , existsWindowTouching:"<positioner()->currentScreenId() << " , EDGE:" << view->location() << " , ENABLED:" << enabled(view); + //qDebug() << "TRACKING | activeWindowTouching: " << foundActiveTouchInCurScreen << " ,activeWindowMaximized: " << activeWindowMaximized(view); + //qDebug() << "TRACKING | existsWindowActive: " << foundActiveInCurScreen << " , existsWindowMaximized:" << existsWindowMaximized(view) + // << " , existsWindowTouching:"<