extras: awake assertion, fullscreen rule, drawn cursor, transfer notices
- MWBMac/Awake.swift: DisplayAwake renews an IOPMAssertion (PreventUserIdleDisplaySleep, 90 s timeout) on every Awake (21), the macOS answer to Common.HumanBeingDetected/PokeMyself (Receiver.cs:244-249, Common.cs:561-591) without posting input. - MWBMac/Fullscreen.swift: the frontmost app's excluded-apps test and a covers-a-whole-display window check, cached 250 ms; gated in the Engine by IsEasyMouseSwitchAllowed's two early outs (Common.cs:1638-1650), so it is asked only on the edge path. - MWBMac/FakeCursor.swift: CursorOverlay draws NSCursor.arrow at the last injected position (Receiver.cs:186-188) and hides on park, local input and shutdown (Common.cs:1495, InputHook.cs:256-264); FakeCursor coalesces the main-thread hops. - Settings.drawMouseCursor accessor + the Behaviour-pane toggle, answering app-ui's open request. - UIBridge.TransferNotices wires ClipboardAction.note to the Notifier, answering clipboard's open request (Clipboard.cs:610-618, 869-881, 916). Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
1 parent
b73e878ae4
commit
21c886165e
9 files changed
+508
-9
No files matched your search
@@ -35,6 +35,13 @@ struct BehaviourPane: View {
|
||||
"Block mouse at screen corners to avoid accident machine-switch at screen "
|
||||
+ "corners",
|
||||
isOn: model.binding(\.blockMouseAtScreenCorners))
|
||||
SettingsToggle(
|
||||
"Draw mouse cursor",
|
||||
help:
|
||||
"Draw an arrow on this Mac where the remote pointer is while another "
|
||||
+ "machine is controlling it. macOS already moves the real pointer, so "
|
||||
+ "this is a second marker rather than a replacement.",
|
||||
isOn: model.binding(\.drawMouseCursor))
|
||||
}
|
||||
|
||||
SettingsSection("Easy Mouse") {
|
||||
@@ -99,13 +106,9 @@ struct BehaviourPane: View {
|
||||
|
||||
NotYetActive(
|
||||
text:
|
||||
"Clipboard sharing, file transfer and screen-saver blocking are saved here "
|
||||
+ "and sent to the other machines as settings, but this build does not act "
|
||||
+ "on them yet — they arrive with the clipboard and extras work.")
|
||||
NotYetActive(
|
||||
text:
|
||||
"Draw mouse cursor has no macOS equivalent and is not shown here; the value "
|
||||
+ "in settings.json is kept untouched for the Windows machines that read it.")
|
||||
"Draw mouse cursor is accepted by Windows peers as two settings; the second, "
|
||||
+ "DrawMouseEx, selects a Windows-only drawing path and is kept untouched "
|
||||
+ "in settings.json for the machines that read it.")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user