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;
break;
case (0xffffffff):
case (WindowState::DECORM_LAST - 1):
case (WindowState::DECOR_NORMAL):
apps_file << " [Deco]\t{NORMAL}" << endl;
break;
case (WindowState::DECORM_TITLEBAR
| WindowState::DECORM_ICONIFY
| WindowState::DECORM_MENU):
case (WindowState::DECOR_TOOL):
apps_file << " [Deco]\t{TOOL}" << endl;
break;
case (WindowState::DECORM_TITLEBAR
| WindowState::DECORM_MENU):
case (WindowState::DECOR_TINY):
apps_file << " [Deco]\t{TINY}" << endl;
break;
case (WindowState::DECORM_BORDER
| WindowState::DECORM_MENU):
case (WindowState::DECOR_BORDER):
apps_file << " [Deco]\t{BORDER}" << endl;
break;
case (WindowState::DECORM_BORDER
| WindowState::DECORM_MENU
| WindowState::DECORM_TAB):
case (WindowState::DECORM_TAB):
apps_file << " [Deco]\t{TAB}" << endl;
break;
default: