aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-15 05:34:51 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-15 05:34:51 (GMT)
commit398b63c7c54f16f92dfbd305f6899253372a4260 (patch)
tree7d0d3924989db4ecf13dd0d8e276b64f224daf8f
parentaf0f2419541aa7edccce74267c839b830f14d381 (diff)
downloadfluxbox_paul-398b63c7c54f16f92dfbd305f6899253372a4260.zip
fluxbox_paul-398b63c7c54f16f92dfbd305f6899253372a4260.tar.bz2
fix resizing from apps file with defaultDeco != NORMAL
-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())