xrandr spamming fix

also re introduced snprintf
This commit is contained in:
alphanu1 2018-09-10 18:09:42 +01:00 committed by GitHub
parent 340515a9fa
commit 7c05922d36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,6 @@ static void x11_display_server_destroy(void *data)
system(output);
sprintf(output,"xrandr --delmode %s-%d %s", "DVI",i ,old_mode);
system(output);
}
sprintf(output,"xrandr --rmmode %s", old_mode);