all repos — fluxbox @ c05206da7a8ff39fa70a724b06c711a33c08a0f1

custom fork of the fluxbox windowmanager

fixed redraw workspace label bug. Thanks Jochem Kossen j.kossen-AT-home.nl
fluxgen fluxgen
commit

c05206da7a8ff39fa70a724b06c711a33c08a0f1

parent

c34e820240e514b983adfc07f632f463a9022356

1 files changed, 4 insertions(+), 6 deletions(-)

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

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ToolbarHandler.cc,v 1.18 2003/06/26 12:22:42 rathnor Exp $ +// $Id: ToolbarHandler.cc,v 1.19 2003/07/01 12:40:56 fluxgen Exp $ /** * The ToolbarHandler class acts as a rough interface to the toolbar.

@@ -382,14 +382,12 @@

void ToolbarHandler::updateCurrentWorkspace(BScreen &screen) { if (&screen != &m_screen) return; - // if only displaying current workspace, update list - // otherwise ignore it - if (mode() != WORKSPACE && mode() != WORKSPACEICONS) - return; + + m_toolbar->redrawWorkspaceLabel(true); m_toolbar->disableUpdates(); m_toolbar->delAllIcons(true); initForScreen(m_screen); m_toolbar->enableUpdates(); - m_toolbar->redrawWorkspaceLabel(true); + }