aboutsummaryrefslogtreecommitdiffstats
path: root/src/tvtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tvtime.c')
-rw-r--r--src/tvtime.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tvtime.c b/src/tvtime.c
index de29a64..45ecb6c 100644
--- a/src/tvtime.c
+++ b/src/tvtime.c
@@ -1531,6 +1531,11 @@ int tvtime_main( rtctimer_t *rtctimer, int read_stdin, int realtime,
commands_handle( commands, TVTIME_TOGGLE_FULLSCREEN, 0 );
}
+ /* If we start always-on-top, enter this state now. */
+ if( config_get_alwaysontop( ct ) ) {
+ commands_handle( commands, TVTIME_TOGGLE_ALWAYSONTOP, 0 );
+ }
+
/* If we start half-framerate, toggle that now. */
for( i = 0; i < config_get_framerate_mode( ct ); i++ ) {
commands_handle( commands, TVTIME_TOGGLE_FRAMERATE, 0 );
@@ -2473,6 +2478,9 @@ int tvtime_main( rtctimer_t *rtctimer, int read_stdin, int realtime,
snprintf( number, 4, "%d", commands_get_audio_boost( commands ) );
config_save( ct, "AudioBoost", number );
+ snprintf( number, 4, "%d", output->is_alwaysontop() );
+ config_save( ct, "AlwaysOnTop", number );
+
if( vidin ) {
snprintf( number, 4, "%d", videoinput_get_input_num( vidin ) );
config_save( ct, "V4LInput", number );

Privacy Policy