diff options
author | simonb <simonb> | 2006-03-26 04:07:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-03-26 04:07:14 (GMT) |
commit | ce9a0962e6515c91d2da2486dda214279b698456 (patch) | |
tree | b74fbb5e571b56dece4570820e72c7ff4df6aa82 /src/FbWinFrame.cc | |
parent | af74a2284551c8511b66d77112c7bf32831c1522 (diff) | |
download | fluxbox-ce9a0962e6515c91d2da2486dda214279b698456.zip fluxbox-ce9a0962e6515c91d2da2486dda214279b698456.tar.bz2 |
forgot to update rendering when orientation changes
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 160bb2b..f93e9f4 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -413,6 +413,7 @@ void FbWinFrame::alignTabs() { | |||
413 | applyTabContainer(); | 413 | applyTabContainer(); |
414 | } | 414 | } |
415 | 415 | ||
416 | FbTk::Orientation orig_orient = m_tab_container.orientation(); | ||
416 | int tabx = 0, taby = 0; | 417 | int tabx = 0, taby = 0; |
417 | switch (m_screen.getTabPlacement()) { | 418 | switch (m_screen.getTabPlacement()) { |
418 | case TOPLEFT: | 419 | case TOPLEFT: |
@@ -457,6 +458,12 @@ void FbWinFrame::alignTabs() { | |||
457 | break; | 458 | break; |
458 | } | 459 | } |
459 | 460 | ||
461 | if (m_tab_container.orientation() != orig_orient) { | ||
462 | renderTabContainer(); | ||
463 | applyTabContainer(); | ||
464 | m_tab_container.clear(); | ||
465 | } | ||
466 | |||
460 | m_tab_container.move(tabx, taby); | 467 | m_tab_container.move(tabx, taby); |
461 | } | 468 | } |
462 | 469 | ||