From 5f6694ca14d599bee6c56700d88ca86ff1126de9 Mon Sep 17 00:00:00 2001 From: Peter Hercek Date: Thu, 3 Feb 2011 08:43:47 +0100 Subject: bug fix: semantic differences between WinState::Decoration and Remember::save() --- src/Remember.cc | 16 +++++----------- 1 file 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() { 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: -- cgit v0.11.2