mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Strip window title when using kde/hyprland as well
This commit is contained in:
@@ -2041,6 +2041,7 @@ namespace gsr {
|
|||||||
if(focused_window_name.empty())
|
if(focused_window_name.empty())
|
||||||
focused_window_name = "Game";
|
focused_window_name = "Game";
|
||||||
|
|
||||||
|
focused_window_name = strip(focused_window_name);
|
||||||
string_replace_characters(focused_window_name.data(), "/\\", ' ');
|
string_replace_characters(focused_window_name.data(), "/\\", ' ');
|
||||||
|
|
||||||
std::string video_directory = filepath_get_directory(video_filepath.c_str()) + "/" + focused_window_name;
|
std::string video_directory = filepath_get_directory(video_filepath.c_str()) + "/" + focused_window_name;
|
||||||
|
|||||||
Reference in New Issue
Block a user