Share

blackbox

Tracker: Bugs

5 Workspace label not updated (MacOS-X/X11) - ID: 2687206
Last Update: Attachment added ( stschulz )

I'm running blackbox (0.70.1, compiled from the sources) as my default
window manager under MacOS-X, using the Apple X server X11 1.1.3- XFree
4.4.0 in full screen mode. I'm using the toolbar, at the bottom right
corner of the screen.

When changing workspaces, both with the scroll-wheel or the toolbar
buttons, the workspace name in the toolbar is not being updated. It is
updated when I switch to the Apple Desktop and back to X11.

I fixed this behavior in my copy by adding

if(_toolbar)
{
_toolbar->redrawWorkspaceLabel();
}

at the end of
void BScreen::setCurrentWorkspace(unsigned int id),
line 556 in Screen.cc

A full copy of the modified Screen.cc is attached.

I've not tested this systematically, but it works well and without a hitch
for me.

BTW, reading the code is a pleasure, although some comments would have been
nice ;-)


Stephan Schulz ( stschulz ) - 2009-03-14 21:43

5

Open

None

Nobody/Anonymous

Appearance/Rendering

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
Screen.cc Bugfixed version of Screen.cc Download

Change ( 1 )

Field Old Value Date By
File Added 317846: Screen.cc 2009-03-14 21:43 stschulz