1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2025-11-28 13:32:02 +01:00
parent 0e49b33a7f
commit 669d995771
7 changed files with 10 additions and 31 deletions

View file

@ -31,20 +31,15 @@ use {
thiserror::Error,
};
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Default)]
pub enum XInputModel {
None,
#[default]
Passive,
Local,
Global,
}
impl Default for XInputModel {
fn default() -> Self {
Self::Passive
}
}
#[derive(Default, Debug)]
pub struct IcccmHints {
pub flags: Cell<i32>,