refactor: Fixed code quality and fixed sec audit
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
[advisories]
|
[advisories]
|
||||||
vulnerability = "deny"
|
|
||||||
ignore = []
|
ignore = []
|
||||||
|
|
||||||
[bans]
|
[bans]
|
||||||
|
|||||||
+2
-2
@@ -435,7 +435,7 @@ impl SeatHandler for WaylandLock {
|
|||||||
) {
|
) {
|
||||||
if capability == smithay_client_toolkit::seat::Capability::Keyboard {
|
if capability == smithay_client_toolkit::seat::Capability::Keyboard {
|
||||||
let _ = self.seat_state.get_keyboard_with_repeat(
|
let _ = self.seat_state.get_keyboard_with_repeat(
|
||||||
&qh,
|
qh,
|
||||||
&seat,
|
&seat,
|
||||||
None,
|
None,
|
||||||
self.loop_handle.clone(),
|
self.loop_handle.clone(),
|
||||||
@@ -445,7 +445,7 @@ impl SeatHandler for WaylandLock {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if capability == smithay_client_toolkit::seat::Capability::Pointer {
|
if capability == smithay_client_toolkit::seat::Capability::Pointer {
|
||||||
let _ = self.seat_state.get_pointer(&qh, &seat);
|
let _ = self.seat_state.get_pointer(qh, &seat);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fn remove_capability(
|
fn remove_capability(
|
||||||
|
|||||||
Reference in New Issue
Block a user