Compare commits

..

4 Commits
1.8.0 ... 1.8.1

6 changed files with 9 additions and 6 deletions

2
TODO
View File

@@ -245,3 +245,5 @@ Show a question mark beside options. When hovering the question mark show a tool
Remove all mgl::Clock usage in Overlay. We only need to get the time once per update in Overlay::handle_events. Also get time in other places outside handle_events.
Handle stopping replay/stream when recording is running (show notification that the video is saved and move the video to folder with game name).
Support translations.

View File

@@ -1,4 +1,4 @@
project('gsr-ui', ['c', 'cpp'], version : '1.8.0', default_options : ['warning_level=2', 'cpp_std=c++17'], subproject_dir : 'depends')
project('gsr-ui', ['c', 'cpp'], version : '1.8.1', default_options : ['warning_level=2', 'cpp_std=c++17'], subproject_dir : 'depends')
add_project_arguments('-D_FILE_OFFSET_BITS=64', language : ['c', 'cpp'])
@@ -66,7 +66,7 @@ datadir = get_option('datadir')
gsr_ui_resources_path = join_paths(prefix, datadir, 'gsr-ui')
add_project_arguments('-DGSR_UI_VERSION="' + meson.project_version() + '"', language: ['c', 'cpp'])
add_project_arguments('-DGSR_FLATPAK_VERSION="5.8.5"', language: ['c', 'cpp'])
add_project_arguments('-DGSR_FLATPAK_VERSION="5.9.0"', language: ['c', 'cpp'])
executable(
meson.project_name(),

View File

@@ -1,7 +1,7 @@
[package]
name = "gsr-ui"
type = "executable"
version = "1.8.0"
version = "1.8.1"
platforms = ["posix"]
[lang.cpp]

View File

@@ -193,7 +193,7 @@ namespace gsr {
return false;
}
if(hotkey.key == 0) {
if(hotkey.key == 0 || hotkey.key == XK_VoidSymbol) {
//fprintf(stderr, "Error: GlobalHotkeysLinux::bind_key_press: hotkey requires a key\n");
return false;
}

View File

@@ -58,7 +58,7 @@ namespace gsr {
perror("gsr-global-hotkeys");
_exit(127);
return true;
return false;
} else { // Parent
return true;
}

View File

@@ -2024,7 +2024,8 @@ namespace gsr {
void Overlay::process_gsr_output() {
if(replay_save_show_notification && replay_save_clock.get_elapsed_time_seconds() >= replay_saving_notification_timeout_seconds) {
replay_save_show_notification = false;
show_notification("Saving replay, this might take some time", notification_timeout_seconds, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::REPLAY);
if(config.replay_config.record_options.show_notifications)
show_notification("Saving replay, this might take some time", notification_timeout_seconds, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::REPLAY);
}
if(gpu_screen_recorder_process_output_file) {