From dd0c38b01d792ee4e765d98bceefdfa8f78ffe84 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 27 Mar 2023 12:34:47 +0200 Subject: [PATCH] Revert "Allow overriding display requirement for mainloop" It is unclear what should this parameter help with and it doesn't seem that it is somewhere referenced (wiki, GitHub issues). This reverts commit 2e4fac60b875ec060ff6fc84d557dd946d1abd61. --- src/video_display.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/video_display.c b/src/video_display.c index 47974004f..26c28e8f8 100644 --- a/src/video_display.c +++ b/src/video_display.c @@ -189,18 +189,12 @@ void display_done(struct display *d) free(d); } -ADD_TO_PARAM("override-mainloop-req", "* override-mainloop-req\n" - " Override display requirement for mainloop.\n"); - /** * Returns true if display has a run routine that needs to be run in a main thread */ bool display_needs_mainloop(struct display *d) { assert(d->magic == DISPLAY_MAGIC); - if (get_commandline_param("override-mainloop-req") != NULL) { - return true; - } if (d->funcs->needs_mainloop == DISPLAY_NEEDS_MAINLOOP) { return true; }