aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-06-24 18:19:49 (GMT)
committermarkt <markt>2006-06-24 18:19:49 (GMT)
commita23ad6719725a0290d01ac4bba0ce1905b2069d7 (patch)
treeb3997c14a601117cc2c613e2a8bb79cc6a6a1c4b /src/FbWinFrame.cc
parent0b730c76b10babe20738067ae7aec5a102d451fe (diff)
downloadfluxbox-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.cc12
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
653void 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
653void FbWinFrame::setClientWindow(FbTk::FbWindow &win) { 665void FbWinFrame::setClientWindow(FbTk::FbWindow &win) {
654 666
655 win.setBorderWidth(0); 667 win.setBorderWidth(0);