From 4eb3b17f1ec9cd3b635f77844d8ff81382d124ad Mon Sep 17 00:00:00 2001 From: cutefishd Date: Mon, 26 Apr 2021 09:00:42 +0800 Subject: [PATCH] Skip launcher --- src/applicationmodel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/applicationmodel.cpp b/src/applicationmodel.cpp index 737c11f..0bd9e63 100644 --- a/src/applicationmodel.cpp +++ b/src/applicationmodel.cpp @@ -369,6 +369,10 @@ void ApplicationModel::onWindowAdded(quint64 wid) QMap info = m_iface->requestInfo(wid); const QString id = info.value("id").toString(); + // Skip... + if (id == "cutefish-launcher") + return; + if (contains(id)) { for (ApplicationItem *item : m_appItems) { if (item->id == id) {