summaryrefslogtreecommitdiff
path: root/hw/xwayland/xwayland-cvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwayland/xwayland-cvt.c')
-rw-r--r--hw/xwayland/xwayland-cvt.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/hw/xwayland/xwayland-cvt.c b/hw/xwayland/xwayland-cvt.c
index 0fc4ae82a..d052471eb 100644
--- a/hw/xwayland/xwayland-cvt.c
+++ b/hw/xwayland/xwayland-cvt.c
@@ -30,9 +30,9 @@
#include "xwayland-cvt.h"
static void
-xwayland_modinfo_from_cvt(xRRModeInfo *modeinfo,
- int hdisplay, int vdisplay, float vrefresh,
- Bool reduced, Bool interlaced)
+xwayland_modeinfo_from_cvt(xRRModeInfo *modeinfo,
+ int hdisplay, int vdisplay, float vrefresh,
+ Bool reduced, Bool interlaced)
{
struct libxcvt_mode_info *libxcvt_mode_info;
@@ -54,8 +54,8 @@ xwayland_modinfo_from_cvt(xRRModeInfo *modeinfo,
}
static void
-xwayland_modinfo_from_values(xRRModeInfo *modeinfo,
- int hdisplay, int vdisplay, float vrefresh)
+xwayland_modeinfo_from_values(xRRModeInfo *modeinfo,
+ int hdisplay, int vdisplay, float vrefresh)
{
modeinfo->width = hdisplay;
modeinfo->height = vdisplay;
@@ -71,8 +71,8 @@ xwayland_cvt(int hdisplay, int vdisplay, float vrefresh, Bool reduced,
char name[128];
xRRModeInfo modeinfo = { 0, };
- xwayland_modinfo_from_cvt(&modeinfo,
- hdisplay, vdisplay, vrefresh, reduced, interlaced);
+ xwayland_modeinfo_from_cvt(&modeinfo,
+ hdisplay, vdisplay, vrefresh, reduced, interlaced);
/* Horizontal granularity in libxcvt is 8, so if our horizontal size is not
* divisible by 8, libxcvt will round it down, and we will advertise a wrong
@@ -80,8 +80,8 @@ xwayland_cvt(int hdisplay, int vdisplay, float vrefresh, Bool reduced,
*/
if (modeinfo.width != hdisplay || modeinfo.height != vdisplay) {
memset(&modeinfo, 0, sizeof(xRRModeInfo));
- xwayland_modinfo_from_values(&modeinfo,
- hdisplay, vdisplay, vrefresh);
+ xwayland_modeinfo_from_values(&modeinfo,
+ hdisplay, vdisplay, vrefresh);
}
snprintf(name, sizeof name, "%dx%d",