aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc/src
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-04-15 22:29:25 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-04-15 22:29:25 +0400
commitc40de5364d5ff560c53a1faa00e138001efa6726 (patch)
tree55180e7ef980c120d01382e17812dfd4d9b0387c /niri-ipc/src
parent69f723d68aa28698488618e00688ef3a84e40819 (diff)
downloadniri-c40de5364d5ff560c53a1faa00e138001efa6726.tar.gz
niri-c40de5364d5ff560c53a1faa00e138001efa6726.tar.bz2
niri-c40de5364d5ff560c53a1faa00e138001efa6726.zip
Add vrr_supported/enabled to output IPC
Diffstat (limited to 'niri-ipc/src')
-rw-r--r--niri-ipc/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs
index fb515e5d..33d25f2d 100644
--- a/niri-ipc/src/lib.rs
+++ b/niri-ipc/src/lib.rs
@@ -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).