all repos — fluxbox @ e327629342a352d9b0303d53c03886de4eb7be2b

custom fork of the fluxbox windowmanager

default values on start
fluxgen fluxgen
commit

e327629342a352d9b0303d53c03886de4eb7be2b

parent

3496a1e198a79721c69fcf1b08380af94137b0f5

2 files changed, 6 insertions(+), 2 deletions(-)

jump to
M src/BorderTheme.ccsrc/BorderTheme.cc

@@ -4,6 +4,7 @@ BorderTheme::BorderTheme(FbTk::Theme &theme, const std::string &name,

const std::string &altname): m_width(theme, name + ".borderWidth", altname + ".BorderWidth"), m_color(theme, name + ".borderColor", altname + ".BorderColor") { - + // set default values *m_width = 0; + m_color->setFromString("black", theme.screenNum()); }
M src/FbWinFrameTheme.ccsrc/FbWinFrameTheme.cc

@@ -19,7 +19,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: FbWinFrameTheme.cc,v 1.7 2003/08/04 12:49:20 fluxgen Exp $ +// $Id: FbWinFrameTheme.cc,v 1.8 2003/08/16 11:05:19 fluxgen Exp $ #include "FbWinFrameTheme.hh" #include "App.hh"

@@ -60,6 +60,9 @@ m_textjustify(*this, "window.justify", "Window.Justify"),

m_shape_place(*this, "window.roundCorners", "Window.RoundCorners"), m_alpha(*this, "window.alpha", "Window.Alpha") { + // set defaults + m_font->load("fixed"); + *m_alpha = 255; // create GCs Display *disp = FbTk::App::instance()->display();