From 31c6c63de152905551b2095321fb82d2ebed0953 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 2 Jun 2002 23:42:10 +0000 Subject: fixed bug 554646, windows that are not maximizable by default wont get a tab by default now --- src/Window.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 4a84457..831443a 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.57 2002/06/02 23:35:30 fluxgen Exp $ +// $Id: Window.cc,v 1.58 2002/06/02 23:42:10 fluxgen Exp $ #include "Window.hh" @@ -293,8 +293,9 @@ tab(0) positionWindows(); - //use tab? delayed this so that tabs wont "flicker" when creating windows - if (decorations.tab && fluxbox->useTabs()) + // use tab? and don't create a tab on windows that's not + // maximizable as default (such as dialogs) + if (decorations.tab && fluxbox->useTabs() && decorations.maximize) tab = new Tab(this, 0, 0); decorate(); -- cgit v0.11.2