Use wlsunset in anonymous file template
parent
0128fb535f
commit
5761b05c1b
2
main.c
2
main.c
|
@ -92,7 +92,7 @@ struct output {
|
||||||
static struct zwlr_gamma_control_manager_v1 *gamma_control_manager = NULL;
|
static struct zwlr_gamma_control_manager_v1 *gamma_control_manager = NULL;
|
||||||
|
|
||||||
static int create_anonymous_file(off_t size) {
|
static int create_anonymous_file(off_t size) {
|
||||||
char template[] = "/tmp/wlroots-shared-XXXXXX";
|
char template[] = "/tmp/wlsunset-shared-XXXXXX";
|
||||||
int fd = mkstemp(template);
|
int fd = mkstemp(template);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue