all repos — fluxbox @ 3c3f805fcdb42fe4c51ea100e33e5f3b796ce3a4

custom fork of the fluxbox windowmanager

removed call to ThemeManager load in constructor, we call it load theme later
fluxgen fluxgen
commit

3c3f805fcdb42fe4c51ea100e33e5f3b796ce3a4

parent

52869773937f18146f60b617e6c0618bbf40d751

1 files changed, 2 insertions(+), 11 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.253 2003/12/19 00:34:22 fluxgen Exp $ +// $Id: Screen.cc,v 1.254 2003/12/29 01:06:32 fluxgen Exp $ #include "Screen.hh"

@@ -445,18 +445,12 @@ Fluxbox *fluxbox = Fluxbox::instance();

// load this screens resources fluxbox->load_rc(*this); - FbTk::ThemeManager::instance().load(Fluxbox::instance()->getStyleFilename()); - // setup image cache engine m_image_control.reset(new FbTk::ImageControl(scrn, true, fluxbox->colorsPerChannel(), fluxbox->getCacheLife(), fluxbox->getCacheMax())); imageControl().installRootColormap(); root_colormap_installed = true; -#ifdef SLIT - if (slit()) // this will load theme and reconfigure slit - FbTk::ThemeManager::instance().loadTheme(slit()->theme()); -#endif // SLIT m_menutheme->setAlpha(*resource.menu_alpha);

@@ -539,9 +533,7 @@

#ifdef SLIT m_slit.reset(new Slit(*this, *layerManager().getLayer(Fluxbox::instance()->getDesktopLayer()), Fluxbox::instance()->getSlitlistFilename().c_str())); - #endif // SLIT - //!! TODO: we shouldn't do this more than once, but since slit handles their // own resources we must do this.

@@ -752,8 +744,6 @@ *resource.menu_delay_close = 0;

m_menutheme->setDelayOpen(*resource.menu_delay); m_menutheme->setDelayClose(*resource.menu_delay_close); - - Fluxbox::instance()->loadRootCommand(*this); // setup windowtheme, toolbartheme for antialias winFrameTheme().font().setAntialias(*resource.antialias);

@@ -2414,6 +2404,7 @@ return 0;

} void BScreen::updateSize() { + cerr<<"update Size"<<endl; // force update geometry rootWindow().updateGeometry();