summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-16 22:29:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-16 22:29:33 +0200
commit5334c76b834cf7effa21849fff1b0c57cdedb62a (patch)
tree3075144929485759be92a1f65f56675bf4deeb86 /logic
parent7586930b5388d4debf9d2b463aa8275a56690afb (diff)
gui, logic: add separate option for starting in tray vs tray enabled
Suggested-by: @MathijsG, #454
Diffstat (limited to 'logic')
-rw-r--r--logic/main-settings.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp
index 7c02b262..346c3fb2 100644
--- a/logic/main-settings.hpp
+++ b/logic/main-settings.hpp
@@ -68,7 +68,7 @@ struct main_settings
bundle b, b_map;
axis_opts a_x, a_y, a_z, a_yaw, a_pitch, a_roll;
value<bool> tcomp_p, tcomp_tz;
- value<bool> tray_enabled;
+ value<bool> tray_enabled, tray_start;
value<int> camera_yaw, camera_pitch, camera_roll;
value<bool> use_camera_offset_from_centering;
value<bool> center_at_startup;
@@ -91,6 +91,7 @@ struct main_settings
tcomp_p(b, "compensate-translation", true),
tcomp_tz(b, "compensate-translation-disable-z-axis", false),
tray_enabled(b, "use-system-tray", false),
+ tray_start(b, "start-in-tray", false),
camera_yaw(b, "camera-yaw", 0),
camera_pitch(b, "camera-pitch", 0),
camera_roll(b, "camera-roll", 0),