#include "blackbox.hh"
#include "otk/font.hh"
#include "otk/display.hh"
-#include "screen.hh"
-#include "util.hh"
+#include "bbscreen.hh"
+#include "otk/util.hh"
#include "bbwindow.hh"
#include "workspace.hh"
}
tmp.setRect(curr->frameRect().x(), curr->frameRect().y(),
- curr->frameRect().width() + screen->getBorderWidth(),
- curr->frameRect().height() + screen->getBorderWidth());
+ curr->frameRect().width() + screen->getWindowStyle()->getBorderWidth(),
+ curr->frameRect().height() + screen->getWindowStyle()->getBorderWidth());
spaces = calcSpace(tmp, spaces);
}
if (placed == False)
cascadePlacement(new_win, (win->getTitleHeight() +
- screen->getBorderWidth() * 2));
+ screen->getWindowStyle()->getBorderWidth() * 2));
if (new_win.right() > screen->availableArea().right())
new_win.setX(screen->availableArea().left());