all repos — fluxbox @ 562fa2642354fb2bb7281fc70b777b3e22662df6

custom fork of the fluxbox windowmanager

minor usability fix for :Tab command and fixed handle rendering when switching from a style without them
markt markt
commit

562fa2642354fb2bb7281fc70b777b3e22662df6

parent

5fcb520bbb891683a8321cebe4d9fbe9d88e5709

3 files changed, 13 insertions(+), 5 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,12 @@

(Format: Year/Month/Day) Changes for 1.0.0: *07/07/02: + * Fixed handle rendering when switching from a style without them (Mark) + FbWinFrame.cc + * Changed :Tab <int> key command so that the last tab is focused if <int> is + larger than the number of tabs (or first if <int> is negative and |<int>| + is too large) (Mark) + CurrentWindowCmd.cc * Fixed some rendering problems when toolbar item borderwidth is too large and toolbar bevelwidth is set (Mark) Toolbar.cc
M src/CurrentWindowCmd.ccsrc/CurrentWindowCmd.cc

@@ -85,9 +85,10 @@ fbwindow().screen().sendToWorkspace(workspace_num, &fbwindow());

} void GoToTabCmd::real_execute() { - int num = m_tab_num + (m_tab_num > 0 ? 0 : fbwindow().numClients() + 1); - if (num < 1 || num > fbwindow().numClients()) - return; + int num = m_tab_num; + if (num < 0) num += fbwindow().numClients() + 1; + if (num < 1) num = 1; + if (num > fbwindow().numClients()) num = fbwindow().numClients(); FluxboxWindow::ClientList::iterator it = fbwindow().clientList().begin();
M src/FbWinFrame.ccsrc/FbWinFrame.cc

@@ -833,10 +833,11 @@ bool FbWinFrame::showHandle() {

if (m_use_handle || theme().handleWidth() == 0) return false; + m_use_handle = true; + // weren't previously rendered... renderHandles(); - - m_use_handle = true; + applyHandles(); m_handle.show(); m_handle.showSubwindows(); // shows grips