fix resizing from apps file with defaultDeco != NORMAL

This commit is contained in:
Mark Tiefenbruck 2008-05-14 22:34:51 -07:00
parent af0f241954
commit 398b63c7c5

View file

@ -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())