mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-08 23:28:04 +03:00
style: apply cargo fmt
No behavior changes. Brings three files back in line with the project's `style_edition = "2024"` rustfmt config so subsequent edits don't carry unrelated formatting in their diffs.
This commit is contained in:
committed by
Ferdinand Schober
parent
e863cdb801
commit
e5862e10e3
@@ -219,9 +219,7 @@ fn build_ui(app: &Application) {
|
||||
}
|
||||
}
|
||||
macos_privacy::AccessibilityChange::Revoked => {
|
||||
log::warn!(
|
||||
"Accessibility revoked — quitting to avoid wedging system input"
|
||||
);
|
||||
log::warn!("Accessibility revoked — quitting to avoid wedging system input");
|
||||
if let Some(app) = app_weak.upgrade() {
|
||||
app.quit();
|
||||
}
|
||||
@@ -291,4 +289,3 @@ fn build_ui(app: &Application) {
|
||||
window.present();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,6 @@ pub fn accessibility_granted() -> bool {
|
||||
raw != 0
|
||||
}
|
||||
|
||||
|
||||
pub enum AccessibilityChange {
|
||||
/// AX was missing at startup and the user has now granted it.
|
||||
/// Capture/emulation still need a relaunch to take effect, since
|
||||
|
||||
Reference in New Issue
Block a user