This results in wayland wl_output modes having their refresh rates
1000x too high, which has the magical effect of making some native
Qt apps fail with a GTK error when Xwayland crashes on 32-bit systems.
@fix
Fixes T3587
mode->width = info->hdisplay;
mode->height = info->vdisplay;
- refresh = (info->clock * 1000000LL / info->htotal + info->vtotal / 2) / info->vtotal;
+ refresh = (info->clock * 1000LL / info->htotal + info->vtotal / 2) / info->vtotal;
if (info->flags & DRM_MODE_FLAG_INTERLACE)
refresh *= 2;
if (info->flags & DRM_MODE_FLAG_DBLSCAN)