Update dispserv_x11.c

This commit is contained in:
alphanu1 2018-05-10 01:56:39 +01:00 committed by GitHub
parent 61f445b159
commit 06d411d6e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -157,15 +157,15 @@ static bool x11_set_resolution(void *data,
if (orig_height == 0)
orig_height = scrn->height;
hsp = width*1.15;
hsp = width*1.12;
/* set core refresh from hz */
video_monitor_set_refresh_rate(hz);
/* following code is the mode line genorator */
hfp = width+16;
hbp = width*1.26;
hfp = width+12;
hbp = width*1.22;
hmax = hbp;
if (height < 241)