all repos — fluxbox @ ce9a0962e6515c91d2da2486dda214279b698456

custom fork of the fluxbox windowmanager

forgot to update rendering when orientation changes
simonb simonb
commit

ce9a0962e6515c91d2da2486dda214279b698456

parent

af74a2284551c8511b66d77112c7bf32831c1522

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M src/FbWinFrame.ccsrc/FbWinFrame.cc

@@ -413,6 +413,7 @@ renderTabContainer();

applyTabContainer(); } + FbTk::Orientation orig_orient = m_tab_container.orientation(); int tabx = 0, taby = 0; switch (m_screen.getTabPlacement()) { case TOPLEFT:

@@ -455,6 +456,12 @@ m_tab_container.setOrientation(FbTk::ROT0);

tabx = x() + width() - m_tab_container.width(); taby = y() + height() + m_window.borderWidth(); break; + } + + if (m_tab_container.orientation() != orig_orient) { + renderTabContainer(); + applyTabContainer(); + m_tab_container.clear(); } m_tab_container.move(tabx, taby);