fixed bug 554646, windows that are not maximizable by default wont get a tab by default now
fluxgen fluxgen
1 files changed,
4 insertions(+),
3 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ grabButtons();
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();