Add support for custom modes and modelines. (#2479)

* Implement custom modes and modelines

Co-authored-by: ToxicMushroom <32853531+ToxicMushroom@users.noreply.github.com>

* fixes

* refactor mode and modeline kdl parsers.

* add IPC parse checks

* refactor: address feedback

* fix: add missing > 0 refresh rate check

* move things around

* fixes

* wiki fixes

---------

Co-authored-by: Christian Meissl <meissl.christian@gmail.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
Merlijn
2025-10-29 07:10:38 +01:00
committed by GitHub
parent e6f3c538da
commit 6a2c6261df
12 changed files with 1080 additions and 68 deletions
+1
View File
@@ -83,6 +83,7 @@ impl Winit {
is_preferred: true,
}],
current_mode: Some(0),
is_custom_mode: true,
vrr_supported: false,
vrr_enabled: false,
logical: Some(logical_output(&output)),