Archived
opt: monitor rule fallback to custom mode
This commit is contained in:
1 parent
13d0424c1b
commit
1d31a3ffb2
2 files changed
+8
No files matched your search
@@ -2625,6 +2625,10 @@ void reapply_monitor_rules(void) {
|
||||
mr->height, mr->refresh);
|
||||
if (internal_mode) {
|
||||
wlr_output_state_set_mode(&state, internal_mode);
|
||||
} else {
|
||||
wlr_output_state_set_custom_mode(
|
||||
&state, mr->width, mr->height,
|
||||
(int)roundf(mr->refresh * 1000));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user