aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc1
-rw-r--r--src/fluxbox.cc14
2 files changed, 8 insertions, 7 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 7c36329..c9ab1b2 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -562,6 +562,7 @@ void FluxboxWindow::init() {
562 setMaximizedState(tmp); 562 setMaximizedState(tmp);
563 } 563 }
564 564
565 m_workspacesig.notify();
565 566
566 struct timeval now; 567 struct timeval now;
567 gettimeofday(&now, NULL); 568 gettimeofday(&now, NULL);
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();