style(linux): rustfmt drift from the last two commits
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -774,6 +774,10 @@ mod tests {
|
|||||||
// instead of returning.
|
// instead of returning.
|
||||||
flow.emit_by_name::<()>("child-activated", &[&child]);
|
flow.emit_by_name::<()>("child-activated", &[&child]);
|
||||||
|
|
||||||
assert_eq!(fired.get(), 1, "the per-card handler should fire exactly once");
|
assert_eq!(
|
||||||
|
fired.get(),
|
||||||
|
1,
|
||||||
|
"the per-card handler should fire exactly once"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -806,7 +806,10 @@ fn attach_keyboard(
|
|||||||
| gdk::ModifierType::ALT_MASK
|
| gdk::ModifierType::ALT_MASK
|
||||||
| gdk::ModifierType::SHIFT_MASK;
|
| gdk::ModifierType::SHIFT_MASK;
|
||||||
if state.contains(chord) && keyval.to_lower() == gdk::Key::q {
|
if state.contains(chord) && keyval.to_lower() == gdk::Key::q {
|
||||||
tracing::info!(captured = cap.captured.get(), "chord: Ctrl+Alt+Shift+Q (release/engage)");
|
tracing::info!(
|
||||||
|
captured = cap.captured.get(),
|
||||||
|
"chord: Ctrl+Alt+Shift+Q (release/engage)"
|
||||||
|
);
|
||||||
if cap.captured.get() {
|
if cap.captured.get() {
|
||||||
cap.release();
|
cap.release();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user