mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Update dispserv_x11.c
This commit is contained in:
parent
5afcd020bd
commit
257dbd825a
@ -35,7 +35,7 @@
|
|||||||
static unsigned orig_width = 0;
|
static unsigned orig_width = 0;
|
||||||
static unsigned orig_height = 0;
|
static unsigned orig_height = 0;
|
||||||
static char old_mode[250] = {0};
|
static char old_mode[250] = {0};
|
||||||
static char orig_output[250] = NULL;
|
static char orig_output[250] = {0};
|
||||||
static char new_mode[250] = {0};
|
static char new_mode[250] = {0};
|
||||||
static char xrandr[250] = {0};
|
static char xrandr[250] = {0};
|
||||||
static char fbset[150] = {0};
|
static char fbset[150] = {0};
|
||||||
@ -79,7 +79,7 @@ static void x11_display_server_destroy(void *data)
|
|||||||
system(output);
|
system(output);
|
||||||
|
|
||||||
snprintf(output, sizeof(output),
|
snprintf(output, sizeof(output),
|
||||||
"xrandr --delmode %s %s",orig_mode, orig_output);
|
"xrandr --delmode %s %s",orig_output, orig_output);
|
||||||
system(output);
|
system(output);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user