mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
x11: silence xdg-screensaver failure message
This commit is contained in:
parent
2c3f4850b8
commit
fa315705be
@ -497,8 +497,8 @@ static void *screensaver_thread(void *arg)
|
||||
char *args[] = {"xdg-screensaver", "reset", NULL};
|
||||
int status = mp_subprocess(args, NULL, NULL, NULL, NULL, &(char*){0});
|
||||
if (status) {
|
||||
MP_WARN(x11, "Disabling screensaver failed (%d). Make sure the "
|
||||
"xdg-screensaver script is installed.\n", status);
|
||||
MP_VERBOSE(x11, "Disabling screensaver failed (%d). Make sure the "
|
||||
"xdg-screensaver script is installed.\n", status);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user