chore: address 1.79 clippy lints
This commit is contained in:
parent
3b4e064a07
commit
078b46720b
15 changed files with 30 additions and 30 deletions
|
|
@ -434,7 +434,7 @@ impl EventProcessor {
|
|||
let flags = xev.data.get_long(1);
|
||||
let version = flags >> 24;
|
||||
self.dnd.version = Some(version);
|
||||
let has_more_types = flags - (flags & (c_long::max_value() - 1)) == 1;
|
||||
let has_more_types = flags - (flags & (c_long::MAX - 1)) == 1;
|
||||
if !has_more_types {
|
||||
let type_list = vec![
|
||||
xev.data.get_long(2) as xproto::Atom,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue