config: add XWayland enabled option
This commit is contained in:
parent
4ca67772b3
commit
49274fb1c6
13 changed files with 85 additions and 10 deletions
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// Sets whether Xwayland is enabled
|
||||
///
|
||||
/// The default is `true`.
|
||||
pub fn set_x_wayland_enabled(enabled: bool) {
|
||||
get!().set_x_wayland_enabled(enabled)
|
||||
}
|
||||
|
||||
/// The scaling mode of X windows.
|
||||
#[derive(Serialize, Deserialize, Copy, Clone, Debug, Eq, PartialEq, Hash, Default)]
|
||||
pub struct XScalingMode(pub u32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue