diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index d22f496..29b3509 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -318,6 +318,9 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile | |||
318 | #endif // HAVE_GETPID | 318 | #endif // HAVE_GETPID |
319 | 319 | ||
320 | 320 | ||
321 | // setup theme manager to have our style file ready to be scanned | ||
322 | FbTk::ThemeManager::instance().load(getStyleFilename(), getStyleOverlayFilename()); | ||
323 | |||
321 | // Create keybindings handler and load keys file | 324 | // Create keybindings handler and load keys file |
322 | // Note: this needs to be done before creating screens | 325 | // Note: this needs to be done before creating screens |
323 | m_key.reset(new Keys); | 326 | m_key.reset(new Keys); |
@@ -410,9 +413,6 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile | |||
410 | 413 | ||
411 | XAllowEvents(disp, ReplayPointer, CurrentTime); | 414 | XAllowEvents(disp, ReplayPointer, CurrentTime); |
412 | 415 | ||
413 | // setup theme manager to have our style file ready to be scanned | ||
414 | FbTk::ThemeManager::instance().load(getStyleFilename(), getStyleOverlayFilename()); | ||
415 | |||
416 | //XSynchronize(disp, False); | 416 | //XSynchronize(disp, False); |
417 | sync(false); | 417 | sync(false); |
418 | 418 | ||