https://bugs.kde.org/show_bug.cgi?id=452112
Christoph Cullmann <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Christoph Cullmann <[email protected]> --- Are you on X11 or Wayland? We use the following code to check if we are on the requested activity: bool KateApp::isOnActivity(const QString &activity) { for (const auto window : qAsConst(m_mainWindows)) { const KWindowInfo info(window->winId(), {}, NET::WM2Activities); const auto activities = info.activities(); // handle special case of "on all activities" if (activities.isEmpty() || activities.contains(activity)) { return true; } } return false; } -- You are receiving this mail because: You are watching all bug changes.
