aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-09-14 09:33:42 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-09-14 09:33:42 +0400
commit092095ead005ff073344b723f00b08a5b845f186 (patch)
treeccd0522615a0ef80ea5905193518c9689c617e98 /src/config.rs
parentef11975ec53005b10786e2bfe6f31ba88ff81a34 (diff)
downloadniri-092095ead005ff073344b723f00b08a5b845f186.tar.gz
niri-092095ead005ff073344b723f00b08a5b845f186.tar.bz2
niri-092095ead005ff073344b723f00b08a5b845f186.zip
Add debug flag to wait for frame completion
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index b624f88e..d309e23c 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -130,6 +130,8 @@ pub struct DebugConfig {
pub animation_slowdown: f64,
#[knuffel(child)]
pub screen_cast_in_non_session_instances: bool,
+ #[knuffel(child)]
+ pub wait_for_frame_completion_before_queueing: bool,
}
impl Default for DebugConfig {
@@ -137,6 +139,7 @@ impl Default for DebugConfig {
Self {
animation_slowdown: 1.,
screen_cast_in_non_session_instances: false,
+ wait_for_frame_completion_before_queueing: false,
}
}
}