diff --git a/gfx/display_servers/dispserv_x11.c b/gfx/display_servers/dispserv_x11.c index b2c99cb224..4560407ba5 100644 --- a/gfx/display_servers/dispserv_x11.c +++ b/gfx/display_servers/dispserv_x11.c @@ -70,9 +70,10 @@ static void x11_display_server_destroy(void *data) system(output); } - } + sprintf(output,"xrandr --rmmode %s", old_mode); system(output); + } if (dispserv) free(dispserv);