Fix ui being on wrong monitor/focused monitor capture incorrect on kde plasma wayland when vrr is enabled (fallback to window creation & window position trick)

This commit is contained in:
dec05eba
2025-05-02 12:32:08 +02:00
parent ac1d57e8ba
commit 180a3b73db
5 changed files with 105 additions and 26 deletions

View File

@@ -130,8 +130,6 @@ namespace gsr {
exit_status = -1;
break;
}
buffer[bytes_read] = '\0';
result.append(buffer, bytes_read);
}