From 33f69f1815a24486605ec4b745e73c2da214e627 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 29 Dec 2003 01:23:04 +0000 Subject: minor fix for previous fix --- src/Screen.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Screen.cc b/src/Screen.cc index 7b9fa9c..9936c14 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.254 2003/12/29 01:06:32 fluxgen Exp $ +// $Id: Screen.cc,v 1.255 2003/12/29 01:23:04 fluxgen Exp $ #include "Screen.hh" @@ -410,6 +410,10 @@ BScreen::BScreen(FbTk::ResourceManager &rm, m_xinerama_headinfo(0), m_shutdown(false) { + // we need to load win frame theme before we create any fluxbox window + // else we get some bad handle/grip height/width + FbTk::ThemeManager::instance().loadTheme(*m_windowtheme.get()); + Display *disp = FbTk::App::instance()->display(); initXinerama(); -- cgit v0.11.2