check apps file settings after ewmh and gnome

This commit is contained in:
Mark Tiefenbruck 2007-12-19 00:07:47 -08:00
parent 176865bf93
commit 0d544fbe4f
2 changed files with 8 additions and 7 deletions

View file

@ -562,6 +562,7 @@ void FluxboxWindow::init() {
setMaximizedState(tmp);
}
m_workspacesig.notify();
struct timeval now;
gettimeofday(&now, NULL);

View file

@ -391,19 +391,19 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
m_keyscreen = m_mousescreen = m_screen_list.front();
// parse apps file after creating screens but before creating windows
#ifdef REMEMBER
addAtomHandler(new Remember(), "remember"); // for remembering window attribs
#endif // REMEMBER
// ewmh handler needs to be added after apps file handler, or else some
// window properties are set incorrectly on new windows
// this dependency should probably be made more robust
#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
// parse apps file after creating screens (so we can tell if it's a restart
// for [startup] items) but before creating windows
// this needs to be after ewmh and gnome, so state atoms don't get
// overwritten before they're applied
#ifdef REMEMBER
addAtomHandler(new Remember(), "remember"); // for remembering window attribs
#endif // REMEMBER
// init all "screens"
ScreenList::iterator it = m_screen_list.begin();