Strip window title when using kde/hyprland as well

This commit is contained in:
dec05eba
2026-02-12 01:25:59 +01:00
parent 02db186232
commit 728ccc40a6

View File

@@ -2041,6 +2041,7 @@ namespace gsr {
if(focused_window_name.empty())
focused_window_name = "Game";
focused_window_name = strip(focused_window_name);
string_replace_characters(focused_window_name.data(), "/\\", ' ');
std::string video_directory = filepath_get_directory(video_filepath.c_str()) + "/" + focused_window_name;