From 398b63c7c54f16f92dfbd305f6899253372a4260 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Wed, 14 May 2008 22:34:51 -0700 Subject: fix resizing from apps file with defaultDeco != NORMAL --- src/Window.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 3b5e917..a7b2331 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -500,13 +500,14 @@ void FluxboxWindow::init() { } else setOnHead(screen().getCurrHead()); + // we must do this now, or else resizing may not work properly + applyDecorations(true); + Fluxbox::instance()->attachSignals(*this); // this window is managed, we are now allowed to modify actual state m_initialized = true; - applyDecorations(true); - restoreAttributes(); if (m_workspace_number >= screen().numberOfWorkspaces()) -- cgit v0.11.2