xwayland: Add descaling option

This commit is contained in:
Victoria Brekenfeld 2024-08-23 18:26:08 +02:00 committed by Victoria Brekenfeld
parent c9220a7acc
commit 971c28db38
5 changed files with 98 additions and 2 deletions

View file

@ -23,6 +23,8 @@ pub struct CosmicCompConfig {
pub autotile_behavior: TileBehavior,
/// Active hint enabled
pub active_hint: bool,
/// Let X11 applications scale themselves
pub descale_xwayland: bool,
}
impl Default for CosmicCompConfig {
@ -48,6 +50,7 @@ impl Default for CosmicCompConfig {
autotile: Default::default(),
autotile_behavior: Default::default(),
active_hint: true,
descale_xwayland: false,
}
}
}