Commit Graph
2 Commits
Author SHA1 Message Date
lucioandClaude Opus 5 21c886165e 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]>
2026-09-16 05:25:10 -07:00
lucioandClaude Opus 5 6b2b3fc65a app-ui: menu bar, settings window, notifications, login item
The real user interface, replacing app-engine's placeholder status item.

- MWBMac/StatusItem.swift: NSStatusItem with a code-drawn icon, the
  documented status colours (doc/devdocs/modules/mousewithoutborders.md)
  and the menu the Windows tray menu offers (frmScreen.Designer.cs:91-180).
- MWBMac/SettingsWindow/*: one NSWindow hosting a SwiftUI TabView with six
  panes; every property in README §Settings is reachable. Labels and help
  text taken from MouseWithoutBordersPage.xaml + Resources.resw, cited per
  file.
- MWBMac/Notifications.swift, LaunchAgent.swift: UNUserNotificationCenter
  and SMAppService.mainApp, both guarded on a bundle identifier.
- mwb/UIBridge.swift: EngineSnapshot -> StatusModel, clicks -> Engine, and
  the connected/lost/invalid-key notification diff.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 04:14:11 -07:00