aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc5
1 files 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() {
500 } else 500 } else
501 setOnHead(screen().getCurrHead()); 501 setOnHead(screen().getCurrHead());
502 502
503 // we must do this now, or else resizing may not work properly
504 applyDecorations(true);
505
503 Fluxbox::instance()->attachSignals(*this); 506 Fluxbox::instance()->attachSignals(*this);
504 507
505 // this window is managed, we are now allowed to modify actual state 508 // this window is managed, we are now allowed to modify actual state
506 m_initialized = true; 509 m_initialized = true;
507 510
508 applyDecorations(true);
509
510 restoreAttributes(); 511 restoreAttributes();
511 512
512 if (m_workspace_number >= screen().numberOfWorkspaces()) 513 if (m_workspace_number >= screen().numberOfWorkspaces())