From 48bd3f49bc629bfa9ba0441ca4514cddaf742d98 Mon Sep 17 00:00:00 2001
From: markt <markt>
Date: Sat, 10 Feb 2007 21:50:57 +0000
Subject: changed default value for decorateTransients in the init file  -- see
 sf.net bug #1604959 for explanation

---
 doc/asciidoc/fluxbox.txt | 2 +-
 src/Screen.cc            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/asciidoc/fluxbox.txt b/doc/asciidoc/fluxbox.txt
index 9c4efc5..c0484ed 100644
--- a/doc/asciidoc/fluxbox.txt
+++ b/doc/asciidoc/fluxbox.txt
@@ -901,7 +901,7 @@ session.screen0.showwindowposition: <boolean>
 session.screen0.decorateTransient: <boolean>
       This controls whether or not transient windows get certain window
       decorations, currently the maximize button and handle.
-      Default: False
+      Default: True
 
 session.screen0.defaultDeco: <bitmask>
       This specifies the default window decorations, according to the same
diff --git a/src/Screen.cc b/src/Screen.cc
index f3a5d01..4097dd7 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -291,7 +291,7 @@ BScreen::ScreenResource::ScreenResource(FbTk::ResourceManager &rm,
     show_window_pos(rm, true, scrname+".showwindowposition", altscrname+".ShowWindowPosition"),
     auto_raise(rm, true, scrname+".autoRaise", altscrname+".AutoRaise"),
     click_raises(rm, true, scrname+".clickRaises", altscrname+".ClickRaises"),
-    decorate_transient(rm, false, scrname+".decorateTransient", altscrname+".DecorateTransient"),
+    decorate_transient(rm, true, scrname+".decorateTransient", altscrname+".DecorateTransient"),
     default_deco(rm, FluxboxWindow::DECORM_LAST-1, scrname+".defaultDeco", altscrname+".DefaultDeco"),
     rootcommand(rm, "", scrname+".rootCommand", altscrname+".RootCommand"),
     resize_model(rm, BOTTOMRESIZE, scrname+".resizeMode", altscrname+".ResizeMode"),
-- 
cgit v0.11.2