diff options
-rw-r--r-- | src/Screen.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 28d1506..2dfe90b 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.144 2003/05/04 23:38:06 rathnor Exp $ | 25 | // $Id: Screen.cc,v 1.145 2003/05/07 11:36:43 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -569,11 +569,12 @@ BScreen::BScreen(ResourceManager &rm, | |||
569 | image_control->setDither(*resource.image_dither); | 569 | image_control->setDither(*resource.image_dither); |
570 | 570 | ||
571 | // setup windowtheme, toolbartheme for antialias | 571 | // setup windowtheme, toolbartheme for antialias |
572 | // before we load the theme | ||
572 | winFrameTheme().font().setAntialias(*resource.antialias); | 573 | winFrameTheme().font().setAntialias(*resource.antialias); |
573 | menuTheme()->titleFont().setAntialias(*resource.antialias); | 574 | menuTheme()->titleFont().setAntialias(*resource.antialias); |
574 | menuTheme()->frameFont().setAntialias(*resource.antialias); | 575 | menuTheme()->frameFont().setAntialias(*resource.antialias); |
575 | 576 | ||
576 | // set database for new Theme Engine | 577 | // load database for theme engine |
577 | FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename().c_str()); | 578 | FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename().c_str()); |
578 | 579 | ||
579 | const char *s = i18n->getMessage(FBNLS::ScreenSet, FBNLS::ScreenPositionLength, | 580 | const char *s = i18n->getMessage(FBNLS::ScreenSet, FBNLS::ScreenPositionLength, |
@@ -592,7 +593,7 @@ BScreen::BScreen(ResourceManager &rm, | |||
592 | attrib.border_pixel = m_root_theme->borderColor().pixel(); | 593 | attrib.border_pixel = m_root_theme->borderColor().pixel(); |
593 | attrib.colormap = colormap(); | 594 | attrib.colormap = colormap(); |
594 | attrib.save_under = true; | 595 | attrib.save_under = true; |
595 | //!! TODO border width | 596 | |
596 | geom_window = | 597 | geom_window = |
597 | XCreateWindow(disp, getRootWindow(), | 598 | XCreateWindow(disp, getRootWindow(), |
598 | 0, 0, geom_w, geom_h, rootTheme().borderWidth(), getDepth(), | 599 | 0, 0, geom_w, geom_h, rootTheme().borderWidth(), getDepth(), |