}
if (dosel && item->isSelected()) {
+ // match the text color
+ BPen pen((highlight ? style->h_text :
+ (item->isEnabled() ? style->f_text :
+ style->d_text)));
+
XPoint pts[6];
pts[0].x = sel_x + 0;
pts[3].x = 5;
pts[3].y = -5;
+
pts[4].x = 0;
pts[4].y = -3;
pts[5].x = -5;
pts[5].y = 5;
- XFillPolygon(display, menu.frame, pen.gc(), pts, 6, Complex,
+ XFillPolygon(display, menu.frame, pen.gc(), pts, 6, Nonconvex,
CoordModePrevious);
}
xatom->setValue(getRootWindow(), XAtom::net_current_desktop,
XAtom::cardinal, 0); //first workspace
- workspacemenu->setItemSelected(2, True);
+ //workspacemenu->setItemSelected(2, True);
toolbar = new Toolbar(this);
blackbox->setFocusedWindow((BlackboxWindow *) 0);
current_workspace->hideAll();
- workspacemenu->setItemSelected(current_workspace->getID() + 2, False);
+ //workspacemenu->setItemSelected(current_workspace->getID() + 2, False);
current_workspace = getWorkspace(id);
xatom->setValue(getRootWindow(), XAtom::net_current_desktop,
XAtom::cardinal, id);
- workspacemenu->setItemSelected(current_workspace->getID() + 2, True);
+ //workspacemenu->setItemSelected(current_workspace->getID() + 2, True);
toolbar->redrawWorkspaceLabel(True);
current_workspace->showAll();