From f510efd64ed0741a04593b43f9a0a32a275a29e9 Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Wed, 30 Jan 2019 22:34:18 +0000 Subject: [PATCH] Update dispserv_x11.c --- gfx/display_servers/dispserv_x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/display_servers/dispserv_x11.c b/gfx/display_servers/dispserv_x11.c index 7707ebbd37..7c8dea86fb 100644 --- a/gfx/display_servers/dispserv_x11.c +++ b/gfx/display_servers/dispserv_x11.c @@ -40,6 +40,7 @@ static char new_mode[250] = {0}; static char xrandr[250] = {0}; static char fbset[150] = {0}; static char output[500] = {0}; +static char output4[500] = {0}; static bool crt_en = false; static unsigned crtid = 20; @@ -69,7 +70,7 @@ static void x11_display_server_destroy(void *data) snprintf(output, sizeof(output), - "xrandr --newmode \"700x480_59.941002\" 13.849698 700 742 801 867 480 490 496 533 interlace -hsync -vsync") + "xrandr --newmode \"Desktop 700x480_59.94\" 13.849698 700 742 801 867 480 490 496 533 interlace -hsync -vsync"); system(output); snprintf(output, sizeof(output), "xrandr --addmode %s 700x480_59.941002", orig_output);