aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 2ff0b55..9deb39b 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -391,19 +391,19 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
391 391
392 m_keyscreen = m_mousescreen = m_screen_list.front(); 392 m_keyscreen = m_mousescreen = m_screen_list.front();
393 393
394 // parse apps file after creating screens but before creating windows
395#ifdef REMEMBER
396 addAtomHandler(new Remember(), "remember"); // for remembering window attribs
397#endif // REMEMBER
398 // ewmh handler needs to be added after apps file handler, or else some
399 // window properties are set incorrectly on new windows
400 // this dependency should probably be made more robust
401#ifdef USE_NEWWMSPEC 394#ifdef USE_NEWWMSPEC
402 addAtomHandler(new Ewmh(), "ewmh"); // for Extended window manager atom support 395 addAtomHandler(new Ewmh(), "ewmh"); // for Extended window manager atom support
403#endif // USE_NEWWMSPEC 396#endif // USE_NEWWMSPEC
404#ifdef USE_GNOME 397#ifdef USE_GNOME
405 addAtomHandler(new Gnome(), "gnome"); // for gnome 1 atom support 398 addAtomHandler(new Gnome(), "gnome"); // for gnome 1 atom support
406#endif //USE_GNOME 399#endif //USE_GNOME
400 // parse apps file after creating screens (so we can tell if it's a restart
401 // for [startup] items) but before creating windows
402 // this needs to be after ewmh and gnome, so state atoms don't get
403 // overwritten before they're applied
404#ifdef REMEMBER
405 addAtomHandler(new Remember(), "remember"); // for remembering window attribs
406#endif // REMEMBER
407 407
408 // init all "screens" 408 // init all "screens"
409 ScreenList::iterator it = m_screen_list.begin(); 409 ScreenList::iterator it = m_screen_list.begin();