summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-09 21:52:18 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-09 21:52:46 +0900
commit9ce8d91f6d54afac67f7653700205ee24206e3a2 (patch)
tree29ae53544568c5dbceb55bc55f17ba84a28485fe
parent400f966b70dbc3529bcf4a2188340e0b2dfe9d40 (diff)
backlight - save after actions change backlight too.
-rw-r--r--src/bin/e_actions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c
index e9d45a2ad..182dd1963 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -2855,6 +2855,7 @@ ACT_FN_GO(backlight_set, )
2855 } 2855 }
2856 e_backlight_mode_set(zone, E_BACKLIGHT_MODE_NORMAL); 2856 e_backlight_mode_set(zone, E_BACKLIGHT_MODE_NORMAL);
2857 e_backlight_level_set(zone, ((double)v / 100.0), -1.0); 2857 e_backlight_level_set(zone, ((double)v / 100.0), -1.0);
2858 e_config_save_queue();
2858} 2859}
2859 2860
2860ACT_FN_GO(backlight_adjust, ) 2861ACT_FN_GO(backlight_adjust, )
@@ -2865,6 +2866,7 @@ ACT_FN_GO(backlight_adjust, )
2865 v = atoi(params); 2866 v = atoi(params);
2866 e_backlight_mode_set(zone, E_BACKLIGHT_MODE_NORMAL); 2867 e_backlight_mode_set(zone, E_BACKLIGHT_MODE_NORMAL);
2867 e_backlight_level_set(zone, e_backlight_level_get(zone) + ((double)v / 100.0), -1.0); 2868 e_backlight_level_set(zone, e_backlight_level_get(zone) + ((double)v / 100.0), -1.0);
2869 e_config_save_queue();
2868} 2870}
2869 2871
2870ACT_FN_GO(kbd_layout, ) 2872ACT_FN_GO(kbd_layout, )