diff options
author | fluxgen <fluxgen> | 2004-02-16 10:26:03 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-02-16 10:26:03 (GMT) |
commit | 17c41e5bacb70bbe2910ec3bd967343236a437db (patch) | |
tree | a487fcdc40019c1a9a3acc3eba7ccc7249dfe451 /src/IconbarTool.cc | |
parent | c0cf1d918bd4a8b21ae57f79c570a534866795e7 (diff) | |
download | fluxbox_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.cc | 4 |
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 | ||
683 | void IconbarTool::addWindow(FluxboxWindow &win) { | 683 | void 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); |