summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config_vars.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-05-08 12:37:17 +0200
committerRobin Gareus <robin@gareus.org>2017-05-08 12:37:17 +0200
commit2c7cb9065f6303c64baf4eb5dbb64db56a587d40 (patch)
tree5397517e8f8daeeb2277bfd122fcb06ded22c67f /gtk2_ardour/ui_config_vars.h
parent2ed08f07718171e49e10618b4bb41e4cce0de5d9 (diff)
Limit clock displays to 30days (720hours) by default.
This prevents various edge-cases of selection-clocks (eg. unbound range selection after start-range; and makes it near impossible to roll-over 2^63 using GUI operations)
Diffstat (limited to 'gtk2_ardour/ui_config_vars.h')
-rw-r--r--gtk2_ardour/ui_config_vars.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h
index ae94452c96..1d2e5a1bb0 100644
--- a/gtk2_ardour/ui_config_vars.h
+++ b/gtk2_ardour/ui_config_vars.h
@@ -60,6 +60,7 @@ UI_CONFIG_VARIABLE (bool, show_region_gain, "show-region-gain", false)
UI_CONFIG_VARIABLE (bool, show_name_highlight, "show-name-highlight", false)
UI_CONFIG_VARIABLE (bool, primary_clock_delta_edit_cursor, "primary-clock-delta-edit-cursor", false)
UI_CONFIG_VARIABLE (bool, secondary_clock_delta_edit_cursor, "secondary-clock-delta-edit-cursor", false)
+UI_CONFIG_VARIABLE (uint64_t, clock_display_limit, "clock-display-limit", 2592000) /* seconds; default 30days (720h), 0 = unlimited */
UI_CONFIG_VARIABLE (bool, show_track_meters, "show-track-meters", true)
UI_CONFIG_VARIABLE (bool, editor_stereo_only_meters, "editor-stereo-only-meters", false)
UI_CONFIG_VARIABLE (bool, follow_edits, "follow-edits", false)