aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 36e406c3..42194d54 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -856,7 +856,7 @@ void handle_output_manager_apply(struct wl_listener *listener, void *data) {
struct wlr_output_mode *mode = config_head->state.mode;
oc->width = mode->width;
oc->height = mode->height;
- oc->refresh_rate = mode->refresh;
+ oc->refresh_rate = mode->refresh / 1000.f;
} else {
oc->width = config_head->state.custom_mode.width;
oc->height = config_head->state.custom_mode.height;