summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-18 17:53:15 (GMT)
committerfluxgen <fluxgen>2004-04-18 17:53:15 (GMT)
commitee9180ee1c160bead084b54e7bc40539727f250c (patch)
treef455c0b228de39a6d582ec8e3cb2c516ed5ce0e2
parent13d2dd13832c750fb9135411b99075c0117789de (diff)
downloadfluxbox_lack-ee9180ee1c160bead084b54e7bc40539727f250c.zip
fluxbox_lack-ee9180ee1c160bead084b54e7bc40539727f250c.tar.bz2
minor fix for decoration stuff and remember position, patch from Mathias Gumz
-rw-r--r--src/Remember.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 630428b..c0c0b9d 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Remember.cc,v 1.35 2004/02/20 09:05:38 fluxgen Exp $ 24// $Id: Remember.cc,v 1.36 2004/04/18 17:53:15 fluxgen Exp $
25 25
26#include "Remember.hh" 26#include "Remember.hh"
27#include "ClientPattern.hh" 27#include "ClientPattern.hh"
@@ -785,6 +785,10 @@ void Remember::setupFrame(FluxboxWindow &win) {
785 screen.changeWorkspaceID(app->workspace); 785 screen.changeWorkspaceID(app->workspace);
786 } 786 }
787 787
788 if (app->decostate_remember)
789 win.setDecorationMask(app->decostate);
790
791
788 if (app->dimensions_remember) 792 if (app->dimensions_remember)
789 win.resize(app->w, app->h); 793 win.resize(app->w, app->h);
790 794
@@ -824,9 +828,6 @@ void Remember::setupFrame(FluxboxWindow &win) {
824 // external tabs aren't available atm... 828 // external tabs aren't available atm...
825 //if (app->tabstate_remember) ... 829 //if (app->tabstate_remember) ...
826 830
827 if (app->decostate_remember)
828 win.setDecorationMask(app->decostate);
829
830 if (app->stuckstate_remember) 831 if (app->stuckstate_remember)
831 // if inconsistent... 832 // if inconsistent...
832 if (win.isStuck() && !app->stuckstate || 833 if (win.isStuck() && !app->stuckstate ||