diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-04 22:48:05 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-04 22:48:05 +0100 |
commit | 623297b18a812c3f64c9ae98df695f064c0ed240 (patch) | |
tree | ec346a1f408a6f95090145aa5968c004f2f2c71d /src | |
parent | 3d51801a90f5045871e575ed896c0be7619ba1f6 (diff) |
Prefer window title for game name rather than class, fix game names with slash not saving to correct dir
Diffstat (limited to 'src')
-rw-r--r-- | src/Overlay.cpp | 9 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp index 4028410..16dcfe4 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -1106,17 +1106,8 @@ namespace gsr { // Starting recording in 3... // 2... // 1... - // TODO: Do not run this is a daemon. Instead get the pid and when launching another notification close the current notification - // program and start another one. This can also be used to check when the notification has finished by checking with waitpid NOWAIT - // to see when the program has exit. if(config.record_config.show_recording_started_notifications) show_notification("Recording has started", 3.0, get_color_theme().tint_color, get_color_theme().tint_color, NotificationType::RECORD); - //exit(0); - // window->set_visible(false); - // window->close(); - - // TODO: Show notification with args: - // "Recording has started" 3.0 ./images/record.png 76b900 } static std::string streaming_get_url(const Config &config) { diff --git a/src/main.cpp b/src/main.cpp index c64fd60..16152cc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,8 @@ // TODO: Keep track of gpu screen recorder run by other programs to not allow recording at the same time, or something. // TODO: Add systray by using org.kde.StatusNotifierWatcher/etc dbus directly. // TODO: Make sure the overlay always stays on top. Test with starting the overlay and then opening youtube in fullscreen. +// This is done in Overlay::force_window_on_top, but it's not called right now. It cant be used because the overlay will be on top of +// notifications. extern "C" { #include <mgl/mgl.h> |