mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
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:
parent
a1d8110221
commit
9c73e21113
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user