diff options
author | markt <markt> | 2006-06-24 18:19:49 (GMT) |
---|---|---|
committer | markt <markt> | 2006-06-24 18:19:49 (GMT) |
commit | a23ad6719725a0290d01ac4bba0ce1905b2069d7 (patch) | |
tree | b3997c14a601117cc2c613e2a8bb79cc6a6a1c4b /src/FbWinFrame.cc | |
parent | 0b730c76b10babe20738067ae7aec5a102d451fe (diff) | |
download | fluxbox-a23ad6719725a0290d01ac4bba0ce1905b2069d7.zip fluxbox-a23ad6719725a0290d01ac4bba0ce1905b2069d7.tar.bz2 |
Make Urgency Hint flash the correct WinClient's tab.
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 9df9012..9e7eedf 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -650,6 +650,18 @@ void FbWinFrame::setLabelButtonFocus(FbTk::TextButton &btn) { | |||
650 | applyActiveLabel(*m_current_label); | 650 | applyActiveLabel(*m_current_label); |
651 | } | 651 | } |
652 | 652 | ||
653 | void FbWinFrame::setLabelButtonFocus(FbTk::TextButton &btn, bool value) { | ||
654 | if (btn.parent() != &m_tab_container) | ||
655 | return; | ||
656 | |||
657 | if (value) | ||
658 | applyFocusLabel(btn); | ||
659 | else | ||
660 | applyUnfocusLabel(btn); | ||
661 | |||
662 | btn.clear(); | ||
663 | } | ||
664 | |||
653 | void FbWinFrame::setClientWindow(FbTk::FbWindow &win) { | 665 | void FbWinFrame::setClientWindow(FbTk::FbWindow &win) { |
654 | 666 | ||
655 | win.setBorderWidth(0); | 667 | win.setBorderWidth(0); |