[mutter] xrandr: Remove mode fudge code for HSkew
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] xrandr: Remove mode fudge code for HSkew
- Date: Fri, 9 Jan 2015 01:06:49 +0000 (UTC)
commit 9c73e21113d4d8c15d03c574ec1660757cb5b54a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jan 8 15:04:50 2015 -0800
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.
src/backends/x11/meta-monitor-manager-xrandr.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/backends/x11/meta-monitor-manager-xrandr.c b/src/backends/x11/meta-monitor-manager-xrandr.c
index 7743890..b047aca 100644
--- a/src/backends/x11/meta-monitor-manager-xrandr.c
+++ b/src/backends/x11/meta-monitor-manager-xrandr.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]