mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 18:39:09 +00: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 width = xmode->width;
|
||||||
int height = xmode->height;
|
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);
|
return g_strdup_printf ("%dx%d", width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user