diff options
author | fluxgen <fluxgen> | 2002-06-02 23:42:10 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-06-02 23:42:10 (GMT) |
commit | 31c6c63de152905551b2095321fb82d2ebed0953 (patch) | |
tree | 986c952f28b12ffce0c165b8f83a2a4be3f52047 | |
parent | 3075af90d67321bc4c3b6d07910e1acbcddca70e (diff) | |
download | fluxbox_lack-31c6c63de152905551b2095321fb82d2ebed0953.zip fluxbox_lack-31c6c63de152905551b2095321fb82d2ebed0953.tar.bz2 |
fixed bug 554646, windows that are not maximizable by default wont get a tab by default now
-rw-r--r-- | src/Window.cc | 7 |
1 files 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 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.57 2002/06/02 23:35:30 fluxgen Exp $ | 25 | // $Id: Window.cc,v 1.58 2002/06/02 23:42:10 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -293,8 +293,9 @@ tab(0) | |||
293 | 293 | ||
294 | positionWindows(); | 294 | positionWindows(); |
295 | 295 | ||
296 | //use tab? delayed this so that tabs wont "flicker" when creating windows | 296 | // use tab? and don't create a tab on windows that's not |
297 | if (decorations.tab && fluxbox->useTabs()) | 297 | // maximizable as default (such as dialogs) |
298 | if (decorations.tab && fluxbox->useTabs() && decorations.maximize) | ||
298 | tab = new Tab(this, 0, 0); | 299 | tab = new Tab(this, 0, 0); |
299 | decorate(); | 300 | decorate(); |
300 | 301 | ||