mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
output: mode: fix log message; refresh rate is in Hz, not GHz
This commit is contained in:
parent
da0ad4c39e
commit
bbfce58572
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) {
|
||||||
|
|
||||||
bool modeset_success;
|
bool modeset_success;
|
||||||
if (oc && oc->width > 0 && oc->height > 0) {
|
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);
|
oc->height, oc->refresh_rate);
|
||||||
modeset_success =
|
modeset_success =
|
||||||
set_mode(wlr_output, oc->width, oc->height, oc->refresh_rate);
|
set_mode(wlr_output, oc->width, oc->height, oc->refresh_rate);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue