aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hercek <hercek@users.sourceforge.net>2011-02-03 07:43:47 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-02-03 07:43:47 (GMT)
commit5f6694ca14d599bee6c56700d88ca86ff1126de9 (patch)
tree06975b4889e47c689e46489843c2f12ec9e7cf1e
parent83f8f595695c0669b632b8b5d45306a6f63b3fa5 (diff)
downloadfluxbox-5f6694ca14d599bee6c56700d88ca86ff1126de9.zip
fluxbox-5f6694ca14d599bee6c56700d88ca86ff1126de9.tar.bz2
bug fix: semantic differences between WinState::Decoration and Remember::save()
-rw-r--r--src/Remember.cc16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index ef5e7d9..b94b2e6 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -947,25 +947,19 @@ void Remember::save() {
947 apps_file << " [Deco]\t{NONE}" << endl; 947 apps_file << " [Deco]\t{NONE}" << endl;
948 break; 948 break;
949 case (0xffffffff): 949 case (0xffffffff):
950 case (WindowState::DECORM_LAST - 1): 950 case (WindowState::DECOR_NORMAL):
951 apps_file << " [Deco]\t{NORMAL}" << endl; 951 apps_file << " [Deco]\t{NORMAL}" << endl;
952 break; 952 break;
953 case (WindowState::DECORM_TITLEBAR 953 case (WindowState::DECOR_TOOL):
954 | WindowState::DECORM_ICONIFY
955 | WindowState::DECORM_MENU):
956 apps_file << " [Deco]\t{TOOL}" << endl; 954 apps_file << " [Deco]\t{TOOL}" << endl;
957 break; 955 break;
958 case (WindowState::DECORM_TITLEBAR 956 case (WindowState::DECOR_TINY):
959 | WindowState::DECORM_MENU):
960 apps_file << " [Deco]\t{TINY}" << endl; 957 apps_file << " [Deco]\t{TINY}" << endl;
961 break; 958 break;
962 case (WindowState::DECORM_BORDER 959 case (WindowState::DECOR_BORDER):
963 | WindowState::DECORM_MENU):
964 apps_file << " [Deco]\t{BORDER}" << endl; 960 apps_file << " [Deco]\t{BORDER}" << endl;
965 break; 961 break;
966 case (WindowState::DECORM_BORDER 962 case (WindowState::DECORM_TAB):
967 | WindowState::DECORM_MENU
968 | WindowState::DECORM_TAB):
969 apps_file << " [Deco]\t{TAB}" << endl; 963 apps_file << " [Deco]\t{TAB}" << endl;
970 break; 964 break;
971 default: 965 default: