Drop {client,window}DemandsAttentionChanged
There are no its users. Also same can be achieved by listening to Window::demandsAttentionChanged signal.
This commit is contained in:
parent
ceac574a68
commit
2814030fef
4 changed files with 0 additions and 9 deletions
|
@ -631,7 +631,6 @@ void Workspace::windowAttentionChanged(Window *window, bool set)
|
|||
} else {
|
||||
attention_chain.removeAll(window);
|
||||
}
|
||||
Q_EMIT windowDemandsAttentionChanged(window, set);
|
||||
}
|
||||
|
||||
//********************************************
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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 *);
|
||||
|
|
Loading…
Reference in a new issue