fix resizing from apps file with defaultDeco != NORMAL
This commit is contained in:
parent
af0f241954
commit
398b63c7c5
1 changed files with 3 additions and 2 deletions
|
@ -500,13 +500,14 @@ void FluxboxWindow::init() {
|
||||||
} else
|
} else
|
||||||
setOnHead(screen().getCurrHead());
|
setOnHead(screen().getCurrHead());
|
||||||
|
|
||||||
|
// we must do this now, or else resizing may not work properly
|
||||||
|
applyDecorations(true);
|
||||||
|
|
||||||
Fluxbox::instance()->attachSignals(*this);
|
Fluxbox::instance()->attachSignals(*this);
|
||||||
|
|
||||||
// this window is managed, we are now allowed to modify actual state
|
// this window is managed, we are now allowed to modify actual state
|
||||||
m_initialized = true;
|
m_initialized = true;
|
||||||
|
|
||||||
applyDecorations(true);
|
|
||||||
|
|
||||||
restoreAttributes();
|
restoreAttributes();
|
||||||
|
|
||||||
if (m_workspace_number >= screen().numberOfWorkspaces())
|
if (m_workspace_number >= screen().numberOfWorkspaces())
|
||||||
|
|
Loading…
Reference in a new issue