Convert FluxboxWindow::hintSig to FbTk::Signal
This commit is contained in:
parent
6a0280aa4d
commit
ff49160b12
2 changed files with 3 additions and 6 deletions
|
@ -259,7 +259,6 @@ int FluxboxWindow::s_num_grabs = 0;
|
|||
FluxboxWindow::FluxboxWindow(WinClient &client):
|
||||
Focusable(client.screen(), this),
|
||||
oplock(false),
|
||||
m_hintsig(*this),
|
||||
m_creation_time(0),
|
||||
moving(false), resizing(false),
|
||||
m_initialized(false),
|
||||
|
@ -2087,7 +2086,7 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) {
|
|||
client.updateWMHints();
|
||||
titleSig().emit(title().logical(), *this);
|
||||
// nothing uses this yet
|
||||
// hintSig().notify(); // notify listeners
|
||||
// hintSig().emit(*this);
|
||||
break;
|
||||
|
||||
case XA_WM_ICON_NAME:
|
||||
|
|
|
@ -460,8 +460,7 @@ public:
|
|||
*/
|
||||
FbTk::Signal<FluxboxWindow &> &stateSig() { return m_statesig; }
|
||||
FbTk::Signal<FluxboxWindow &> &layerSig() { return m_layersig; }
|
||||
FbTk::Subject &hintSig() { return m_hintsig; }
|
||||
const FbTk::Subject &hintSig() const { return m_hintsig; }
|
||||
FbTk::Signal<FluxboxWindow &> &hintSig() { return m_hintsig; }
|
||||
FbTk::Signal<FluxboxWindow &> &workspaceSig() { return m_workspacesig; }
|
||||
/** @} */ // end group signals
|
||||
|
||||
|
@ -538,8 +537,7 @@ private:
|
|||
|
||||
|
||||
// state and hint signals
|
||||
WinSubject m_hintsig;
|
||||
FbTk::Signal<FluxboxWindow &> m_workspacesig, m_statesig, m_layersig;
|
||||
FbTk::Signal<FluxboxWindow &> m_workspacesig, m_statesig, m_layersig, m_hintsig;
|
||||
|
||||
time_t m_creation_time;
|
||||
|
||||
|
|
Loading…
Reference in a new issue