mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-06 00:31:29 +03:00
update dependencies (#302)
* update dependencies * update windows * clippy: inline format args * update flake * update core-graphics * fix poll after completion error * fix ashpd?!
This commit is contained in:
committed by
GitHub
parent
9f10ebcbd2
commit
eb1dcbddb0
@@ -161,12 +161,12 @@ fn get_display_at_point(x: CGFloat, y: CGFloat) -> Option<CGDirectDisplayID> {
|
||||
};
|
||||
|
||||
if error != 0 {
|
||||
log::warn!("error getting displays at point ({}, {}): {}", x, y, error);
|
||||
log::warn!("error getting displays at point ({x}, {y}): {error}");
|
||||
return Option::None;
|
||||
}
|
||||
|
||||
if display_count == 0 {
|
||||
log::debug!("no displays found at point ({}, {})", x, y);
|
||||
log::debug!("no displays found at point ({x}, {y})");
|
||||
return Option::None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user