From ffcc409ad9b7364cfff46e4257d0a6eba98b07bf Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 15 Nov 2002 14:06:33 +0000 Subject: make sure the tab window does not map if the window is iconified --- src/Tab.cc | 7 ++++--- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Tab.cc,v 1.39 2002/11/12 22:57:03 fluxgen Exp $ +// $Id: Tab.cc,v 1.40 2002/11/15 14:06:33 fluxgen Exp $ #include "Tab.hh" @@ -119,8 +119,9 @@ void Tab::createTabWindow() { Fluxbox::instance()->saveTabSearch(m_tabwin, this); XMapSubwindows(m_display, m_tabwin); - - XMapWindow(m_display, m_tabwin); + // don't show if the window is iconified + if (!m_win->isIconic()) + XMapWindow(m_display, m_tabwin); decorate(); } -- cgit v0.11.2