1
0
Fork 0
forked from wry/wry

config: add XWayland enabled option

This commit is contained in:
khyperia 2026-02-17 10:18:20 +01:00 committed by Julian Orth
parent 4ca67772b3
commit 49274fb1c6
13 changed files with 85 additions and 10 deletions

View file

@ -1182,6 +1182,10 @@ impl ConfigClient {
self.send(&ClientMessage::SetXScalingMode { mode })
}
pub fn set_x_wayland_enabled(&self, enabled: bool) {
self.send(&ClientMessage::SetXWaylandEnabled { enabled })
}
pub fn set_vrr_mode(&self, connector: Option<Connector>, mode: VrrMode) {
self.send(&ClientMessage::SetVrrMode { connector, mode })
}