all repos — fluxbox @ a8b0b3632b4ed6e6fb5f8aa26a6c0ef151a30144

custom fork of the fluxbox windowmanager

signal title changes

so that interested parties (the iconbar ;-) can use/forward them
Thomas Lübking thomas.luebking@gmail.com
commit

a8b0b3632b4ed6e6fb5f8aa26a6c0ef151a30144

parent

f6e1f555f91059a0462db7d60b3a0923fed25652

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/IconButton.ccsrc/IconButton.cc

@@ -238,6 +238,7 @@ }

void IconButton::clientTitleChanged() { refreshEverything(true); + m_title_changed.emit(); if (m_has_tooltip) showTooltip();
M src/IconButton.hhsrc/IconButton.hh

@@ -64,6 +64,8 @@ const Focusable &win() const { return m_win; }

bool setOrientation(FbTk::Orientation orient); + const FbTk::Signal<> &titleChanged() { return m_title_changed; } + protected: void drawText(int x, int y, FbTk::FbDrawable *drawable_override); private:

@@ -89,6 +91,7 @@ FocusableTheme<IconbarTheme> m_theme;

// cached pixmaps FbTk::CachedPixmap m_pm; FbTk::SignalTracker m_signals; + FbTk::Signal<> m_title_changed; }; #endif // ICONBUTTON_HH