aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-16 10:26:03 (GMT)
committerfluxgen <fluxgen>2004-02-16 10:26:03 (GMT)
commit17c41e5bacb70bbe2910ec3bd967343236a437db (patch)
treea487fcdc40019c1a9a3acc3eba7ccc7249dfe451 /src/IconbarTool.cc
parentc0cf1d918bd4a8b21ae57f79c570a534866795e7 (diff)
downloadfluxbox_pavel-17c41e5bacb70bbe2910ec3bd967343236a437db.zip
fluxbox_pavel-17c41e5bacb70bbe2910ec3bd967343236a437db.tar.bz2
added hidden state to remember, patch from akira
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 72e6ce1..d1292c4 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconbarTool.cc,v 1.32 2004/01/21 14:13:57 fluxgen Exp $ 23// $Id: IconbarTool.cc,v 1.33 2004/02/16 10:26:03 fluxgen Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -682,7 +682,7 @@ void IconbarTool::removeWindow(FluxboxWindow &win) {
682 682
683void IconbarTool::addWindow(FluxboxWindow &win) { 683void IconbarTool::addWindow(FluxboxWindow &win) {
684 // we just want windows that has clients 684 // we just want windows that has clients
685 if (win.clientList().empty()) 685 if (win.clientList().empty() || win.isHidden() )
686 return; 686 return;
687 687
688 IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); 688 IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win);