Add vrr_supported/enabled to output IPC

This commit is contained in:
Ivan Molodetskikh
2024-04-15 22:29:25 +04:00
parent 69f723d68a
commit c40de5364d
4 changed files with 20 additions and 0 deletions
+4
View File
@@ -252,6 +252,10 @@ pub struct Output {
///
/// `None` if the output is disabled.
pub current_mode: Option<usize>,
/// Whether the output supports variable refresh rate.
pub vrr_supported: bool,
/// Whether variable refresh rate is enabled on the output.
pub vrr_enabled: bool,
/// Logical output information.
///
/// `None` if the output is not mapped to any logical output (for example, if it is disabled).