BScreen::BScreen(Blackbox *bb, unsigned int scrn) : ScreenInfo(bb, scrn) {
blackbox = bb;
- screenstr = (string)"session.screen" + itostring(scrn) + '.';
+ screenstr = "session.screen" + itostring(scrn) + '.';
config = blackbox->getConfig();
xatom = blackbox->getXAtom();
Slit::Slit(BScreen *scr) {
screen = scr;
blackbox = screen->getBlackbox();
- slitstr = (std::string)"session.screen" + itostring(screen->getScreenNumber())
- + ".slit.";
+ slitstr = "session.screen" + itostring(screen->getScreenNumber()) + ".slit.";
config = blackbox->getConfig();
load_rc();
Toolbar::Toolbar(BScreen *scrn) {
screen = scrn;
blackbox = screen->getBlackbox();
- toolbarstr = (string)"session.screen" + itostring(screen->getScreenNumber())
- + ".toolbar.";
+ toolbarstr = "session.screen" + itostring(screen->getScreenNumber()) +
+ ".toolbar.";
config = blackbox->getConfig();
load_rc();