[PATCH xserver] xwayland: Small comment edit
Roman Gilg
subdiff at gmail.com
Tue Apr 11 13:52:58 UTC 2017
Be more precise in describing the return value.
Signed-off-by: Roman Gilg <subdiff at gmail.com>
---
hw/xwayland/xwayland-output.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c
index d9047c5..bfaf979 100644
--- a/hw/xwayland/xwayland-output.c
+++ b/hw/xwayland/xwayland-output.c
@@ -137,8 +137,9 @@ output_get_new_size(struct xwl_output *xwl_output,
/* Approximate some kind of mmpd (m.m. per dot) of the screen given the outputs
* associated with it.
*
- * It will either calculate the mean mmpd of all the outputs, or default to
- * 96 DPI if no reasonable value could be calculated.
+ * It either calculates the mean mmpd of all the outputs or, if no reasonable
+ * value could be calculated, defaults to the mmpd of a screen with a DPI value
+ * of DEFAULT_DPI.
*/
static double
approximate_mmpd(struct xwl_screen *xwl_screen)
--
2.7.4
More information about the xorg-devel
mailing list