aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-15 14:06:33 (GMT)
committerfluxgen <fluxgen>2002-11-15 14:06:33 (GMT)
commitffcc409ad9b7364cfff46e4257d0a6eba98b07bf (patch)
tree1a8f2f73fabae7bb4cc621753b78bd5443a445b0
parent80c71b3fdc9b4962201ff73fc5a6b090927a7ca9 (diff)
downloadfluxbox-ffcc409ad9b7364cfff46e4257d0a6eba98b07bf.zip
fluxbox-ffcc409ad9b7364cfff46e4257d0a6eba98b07bf.tar.bz2
make sure the tab window does not map if the window is iconified
-rw-r--r--src/Tab.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index 6c87b6e..61ac624 100644
--- a/src/Tab.cc
+++ b/src/Tab.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Tab.cc,v 1.39 2002/11/12 22:57:03 fluxgen Exp $ 22// $Id: Tab.cc,v 1.40 2002/11/15 14:06:33 fluxgen Exp $
23 23
24#include "Tab.hh" 24#include "Tab.hh"
25 25
@@ -119,8 +119,9 @@ void Tab::createTabWindow() {
119 Fluxbox::instance()->saveTabSearch(m_tabwin, this); 119 Fluxbox::instance()->saveTabSearch(m_tabwin, this);
120 120
121 XMapSubwindows(m_display, m_tabwin); 121 XMapSubwindows(m_display, m_tabwin);
122 122 // don't show if the window is iconified
123 XMapWindow(m_display, m_tabwin); 123 if (!m_win->isIconic())
124 XMapWindow(m_display, m_tabwin);
124 125
125 decorate(); 126 decorate();
126} 127}