mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 06:20:44 +09:00
Fix unable to get game (window title) name for some applications, fix notification config not respected when saving video in game directory
This commit is contained in:
@@ -1306,12 +1306,18 @@ namespace gsr {
|
||||
truncate_string(focused_window_name, 20);
|
||||
std::string text;
|
||||
switch(notification_type) {
|
||||
case NotificationType::RECORD:
|
||||
case NotificationType::RECORD: {
|
||||
if(!config.record_config.show_video_saved_notifications)
|
||||
return;
|
||||
text = "Saved recording to '" + focused_window_name + "/" + video_filename + "'";
|
||||
break;
|
||||
case NotificationType::REPLAY:
|
||||
}
|
||||
case NotificationType::REPLAY: {
|
||||
if(!config.replay_config.show_replay_saved_notifications)
|
||||
return;
|
||||
text = "Saved replay to '" + focused_window_name + "/" + video_filename + "'";
|
||||
break;
|
||||
}
|
||||
case NotificationType::NONE:
|
||||
case NotificationType::STREAM:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user