diff --git a/TODO b/TODO index 4393d79..5827c59 100644 --- a/TODO +++ b/TODO @@ -210,4 +210,6 @@ Window selection doesn't work when a window is fullscreen on x11. Make it possible to change replay duration of the "save 1 min" and "save 10 min" by adding them to the replay settings as options. If replay duration is set below the "save 1 min" or "save 10 min" then gray them out and when hovering over those buttons - show a tooltip that says that those buttons cant be used because the replay duration in replay settings is set to a lower value than that (and display the replay duration there). \ No newline at end of file + show a tooltip that says that those buttons cant be used because the replay duration in replay settings is set to a lower value than that (and display the replay duration there). + +Add content framerate mode for wayland with desktop portal capture when it has been added to gpu-screen-recorder and if it works. \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 22cbe5f..a174661 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -195,7 +195,9 @@ enum class LaunchAction { int main(int argc, char **argv) { setlocale(LC_ALL, "C"); // Sigh... stupid C +#ifdef __GLIBC__ mallopt(M_MMAP_THRESHOLD, 65536); +#endif if(geteuid() == 0) { fprintf(stderr, "Error: don't run gsr-ui as the root user\n");