From 2082ccc1a40f08bb2f1343493cb98459cf2d93c7 Mon Sep 17 00:00:00 2001 From: mathias Date: Sat, 20 Nov 2004 18:43:55 +0000 Subject: fix problem with iconic windows on startup --- src/fluxbox.cc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index c87278f..57a7dd1 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -313,17 +313,15 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile FbTk::ThemeManager::instance().load(getStyleFilename()); // setup atom handlers before we create any windows -#ifdef USE_GNOME - addAtomHandler(new Gnome(), "gnome"); // for gnome 1 atom support -#endif //USE_GNOME - -#ifdef USE_NEWWMSPEC - addAtomHandler(new Ewmh(), "ewmh"); // for Extended window manager atom support -#endif // USE_NEWWMSPEC - #ifdef REMEMBER addAtomHandler(new Remember(), "remember"); // for remembering window attribs #endif // REMEMBER +#ifdef USE_NEWWMSPEC + addAtomHandler(new Ewmh(), "ewmh"); // for Extended window manager atom support +#endif // USE_NEWWMSPEC +#ifdef USE_GNOME + addAtomHandler(new Gnome(), "gnome"); // for gnome 1 atom support +#endif //USE_GNOME grab(); -- cgit v0.11.2