mirror of
https://github.com/swaywm/sway.git
synced 2024-11-28 02:41:28 +00:00
output/config: skip no-op fixed mode change
This commit is contained in:
parent
b03d8f685e
commit
80b7b14925
|
@ -274,6 +274,9 @@ static void set_mode(struct wlr_output *output, struct wlr_output_state *pending
|
|||
}
|
||||
}
|
||||
if (best) {
|
||||
if (best == output->current_mode) {
|
||||
return;
|
||||
}
|
||||
sway_log(SWAY_INFO, "Assigning configured mode (%dx%d@%.3fHz) to %s",
|
||||
best->width, best->height, best->refresh / 1000.f, output->name);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue