allow windows to deiconify themselves

This commit is contained in:
markt 2007-01-14 19:04:38 +00:00
parent fc502861a4
commit 6512024f08
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,9 @@
(Format: Year/Month/Day)
Changes for 1.0rc3:
*07/01/14:
* Properly 'properly fix' shaded and stuck windows on restart -- i.e. allow
windows to deiconify themselves the rest of the time (Mark)
Window.cc
* Several changes for background style option: (Mark)
- now support `background: mod' to coincide with fbsetroot -mod --
In addition to `background.color' and `background.colorTo', this option

View file

@ -2479,7 +2479,8 @@ void FluxboxWindow::mapRequestEvent(XMapRequestEvent &re) {
destroyed = wsp->checkGrouping(*this);
// if we weren't grouped with another window we deiconify ourself
if (!destroyed && !iconic)
// make sure iconified windows stay that way on fluxbox start
if (!destroyed && !(iconic && Fluxbox::instance()->isStartup()))
deiconify(false);
}