bug fix: semantic differences between WinState::Decoration and Remember::save()

This commit is contained in:
Peter Hercek 2011-02-03 08:43:47 +01:00 committed by Mathias Gumz
parent 83f8f59569
commit 5f6694ca14

View file

@ -947,25 +947,19 @@ void Remember::save() {
apps_file << " [Deco]\t{NONE}" << endl; apps_file << " [Deco]\t{NONE}" << endl;
break; break;
case (0xffffffff): case (0xffffffff):
case (WindowState::DECORM_LAST - 1): case (WindowState::DECOR_NORMAL):
apps_file << " [Deco]\t{NORMAL}" << endl; apps_file << " [Deco]\t{NORMAL}" << endl;
break; break;
case (WindowState::DECORM_TITLEBAR case (WindowState::DECOR_TOOL):
| WindowState::DECORM_ICONIFY
| WindowState::DECORM_MENU):
apps_file << " [Deco]\t{TOOL}" << endl; apps_file << " [Deco]\t{TOOL}" << endl;
break; break;
case (WindowState::DECORM_TITLEBAR case (WindowState::DECOR_TINY):
| WindowState::DECORM_MENU):
apps_file << " [Deco]\t{TINY}" << endl; apps_file << " [Deco]\t{TINY}" << endl;
break; break;
case (WindowState::DECORM_BORDER case (WindowState::DECOR_BORDER):
| WindowState::DECORM_MENU):
apps_file << " [Deco]\t{BORDER}" << endl; apps_file << " [Deco]\t{BORDER}" << endl;
break; break;
case (WindowState::DECORM_BORDER case (WindowState::DECORM_TAB):
| WindowState::DECORM_MENU
| WindowState::DECORM_TAB):
apps_file << " [Deco]\t{TAB}" << endl; apps_file << " [Deco]\t{TAB}" << endl;
break; break;
default: default: