From 0fda5b7b809f6d6356a23ec2b30d93bc2a5bda06 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 24 Oct 2015 00:52:10 +0100 Subject: [PATCH] Fix Wayland refresh rate exposed as mHz Closes #621. --- src/wl_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wl_monitor.c b/src/wl_monitor.c index 233b8575..a57132a5 100644 --- a/src/wl_monitor.c +++ b/src/wl_monitor.c @@ -69,7 +69,7 @@ static void mode(void* data, mode.base.width = width; mode.base.height = height; - mode.base.refreshRate = refresh; + mode.base.refreshRate = refresh / 1000; mode.flags = flags; if (monitor->wl.modesCount + 1 >= monitor->wl.modesSize)