aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Remember.cc22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index fb65444..c49ee35 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -567,7 +567,27 @@ void Remember::save() {
567 apps_file << " [Dimensions]\t{" << a.w << " " << a.h << "}" << endl; 567 apps_file << " [Dimensions]\t{" << a.w << " " << a.h << "}" << endl;
568 } 568 }
569 if (a.position_remember) { 569 if (a.position_remember) {
570 apps_file << " [Position]\t{" << a.x << " " << a.y << "}" << endl; 570 apps_file << " [Position]\t(";
571 switch(a.refc) {
572 case POS_WINCENTER:
573 apps_file << "WINCENTER";
574 break;
575 case POS_CENTER:
576 apps_file << "CENTER";
577 break;
578 case POS_LOWERLEFT:
579 apps_file << "LOWERLEFT";
580 break;
581 case POS_LOWERRIGHT:
582 apps_file << "LOWERRIGHT";
583 break;
584 case POS_UPPERRIGHT:
585 apps_file << "UPPERRIGHT";
586 break;
587 default:
588 apps_file << "UPPERLEFT";
589 }
590 apps_file << ")\t{" << a.x << " " << a.y << "}" << endl;
571 } 591 }
572 if (a.shadedstate_remember) { 592 if (a.shadedstate_remember) {
573 apps_file << " [Shaded]\t{" << ((a.shadedstate)?"yes":"no") << "}" << endl; 593 apps_file << " [Shaded]\t{" << ((a.shadedstate)?"yes":"no") << "}" << endl;