diff --git a/src/activation.cpp b/src/activation.cpp index 87780eb3cd..fa00c70054 100644 --- a/src/activation.cpp +++ b/src/activation.cpp @@ -631,7 +631,6 @@ void Workspace::windowAttentionChanged(Window *window, bool set) } else { attention_chain.removeAll(window); } - Q_EMIT windowDemandsAttentionChanged(window, set); } //******************************************** diff --git a/src/scripting/workspace_wrapper.cpp b/src/scripting/workspace_wrapper.cpp index b89ede1562..da40dbe8f5 100644 --- a/src/scripting/workspace_wrapper.cpp +++ b/src/scripting/workspace_wrapper.cpp @@ -38,7 +38,6 @@ WorkspaceWrapper::WorkspaceWrapper(QObject *parent) connect(vds, &VirtualDesktopManager::desktopRemoved, this, &WorkspaceWrapper::desktopsChanged); connect(vds, &VirtualDesktopManager::layoutChanged, this, &WorkspaceWrapper::desktopLayoutChanged); connect(vds, &VirtualDesktopManager::currentChanged, this, &WorkspaceWrapper::currentDesktopChanged); - connect(ws, &Workspace::windowDemandsAttentionChanged, this, &WorkspaceWrapper::clientDemandsAttentionChanged); #if KWIN_BUILD_ACTIVITIES if (KWin::Activities *activities = ws->activities()) { connect(activities, &Activities::currentChanged, this, &WorkspaceWrapper::currentActivityChanged); diff --git a/src/scripting/workspace_wrapper.h b/src/scripting/workspace_wrapper.h index 8ed3e3fd10..36fb4cb8e4 100644 --- a/src/scripting/workspace_wrapper.h +++ b/src/scripting/workspace_wrapper.h @@ -81,12 +81,6 @@ Q_SIGNALS: * @since 4.11 */ void desktopLayoutChanged(); - /** - * The demands attention state for Client @p c changed to @p set. - * @param c The Client for which demands attention changed - * @param set New value of demands attention - */ - void clientDemandsAttentionChanged(KWin::Window *client, bool set); /** * Emitted when the output list changes, e.g. an output is connected or removed. */ diff --git a/src/workspace.h b/src/workspace.h index 1e7af8e466..7029a0c3c3 100644 --- a/src/workspace.h +++ b/src/workspace.h @@ -548,7 +548,6 @@ Q_SIGNALS: void windowAdded(KWin::Window *); void windowRemoved(KWin::Window *); void windowActivated(KWin::Window *); - void windowDemandsAttentionChanged(KWin::Window *, bool); void windowMinimizedChanged(KWin::Window *); void groupAdded(KWin::Group *); void deletedRemoved(KWin::Window *);