xrandr: Remove mode fudge code for HSkew

This was part of a downstream patch that Endless has where we hid some
secret parameters inside the HSkew field. It wasn't meant as upstream
logic.
This commit is contained in:
Jasper St. Pierre 2015-01-08 15:04:50 -08:00
parent a1d8110221
commit 9c73e21113

View File

@ -553,12 +553,6 @@ get_xmode_name (XRRModeInfo *xmode)
int width = xmode->width;
int height = xmode->height;
if (xmode->hSkew != 0)
{
width += 2 * (xmode->hSkew >> 8);
height += 2 * (xmode->hSkew & 0xff);
}
return g_strdup_printf ("%dx%d", width, height);
}