aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-07 11:36:43 (GMT)
committerfluxgen <fluxgen>2003-05-07 11:36:43 (GMT)
commit755d0d15040b6760c03a5f860e09ef6367834f90 (patch)
treeb8a2ecca6da974379ad84ba36d1061a086402fa6 /src
parent956848a58534d55c712e5c5810baf16102f23135 (diff)
downloadfluxbox_pavel-755d0d15040b6760c03a5f860e09ef6367834f90.zip
fluxbox_pavel-755d0d15040b6760c03a5f860e09ef6367834f90.tar.bz2
comments
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc7
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(),