output: mode: fix log message; refresh rate is in Hz, not GHz

This commit is contained in:
Daniel Eklöf 2019-09-21 14:08:22 +02:00
parent da0ad4c39e
commit bbfce58572
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -260,7 +260,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) {
bool modeset_success;
if (oc && oc->width > 0 && oc->height > 0) {
sway_log(SWAY_DEBUG, "Set %s mode to %dx%d (%f GHz)", oc->name, oc->width,
sway_log(SWAY_DEBUG, "Set %s mode to %dx%d (%f Hz)", oc->name, oc->width,
oc->height, oc->refresh_rate);
modeset_success =
set_mode(wlr_output, oc->width, oc->height, oc->refresh_rate);