Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99574

Signed-off-by: Svitozar Cherepii <[email protected]>
---
 hw/xwayland/xwayland-cvt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xwayland/xwayland-cvt.c b/hw/xwayland/xwayland-cvt.c
index 9655e104e..d6ff305c7 100644
--- a/hw/xwayland/xwayland-cvt.c
+++ b/hw/xwayland/xwayland-cvt.c
@@ -101,7 +101,7 @@ xwayland_cvt(int HDisplay, int VDisplay, float VRefresh, 
Bool Reduced,
         VFieldRate = VRefresh;
 
     /* 2. Horizontal pixels */
-    HDisplayRnd = HDisplay - (HDisplay % CVT_H_GRANULARITY);
+    HDisplayRnd = HDisplay;
 
     /* 3. Determine left and right borders */
     if (Margins) {
-- 
2.11.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to