mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Use XDG_RUNTIME_DIR (and flatpak specific dir) and /dev/dri/renderD128 instead of /dev/dri/card0 (fixes capture on some systems)
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
|
||||
#include "../kms_shared.h"
|
||||
#include <sys/types.h>
|
||||
#include <limits.h>
|
||||
|
||||
typedef struct {
|
||||
pid_t kms_server_pid;
|
||||
int socket_fd;
|
||||
int client_fd;
|
||||
char socket_path[255];
|
||||
char socket_path[PATH_MAX];
|
||||
} gsr_kms_client;
|
||||
|
||||
/* |card_path| should be a path to card, for example /dev/dri/card0 */
|
||||
|
||||
Reference in New Issue
Block a user