<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lan-mouse/lan-mouse-gtk/src/window, branch input-event-v0.4.0</title>
<subtitle>a fork</subtitle>
<id>https://git.nsrddyn.com/lan-mouse/atom/lan-mouse-gtk/src/window?h=input-event-v0.4.0</id>
<link rel='self' href='https://git.nsrddyn.com/lan-mouse/atom/lan-mouse-gtk/src/window?h=input-event-v0.4.0'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/'/>
<updated>2026-04-29T20:59:43Z</updated>
<entry>
<title>macos: fold relaunch prompt into the warning row instead of a toast</title>
<updated>2026-04-29T20:59:43Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-04-24T14:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=5d7d14fbf779faf37141a475a6b9d0735740f37e'/>
<id>urn:sha1:5d7d14fbf779faf37141a475a6b9d0735740f37e</id>
<content type='text'>
The cut-off toast UX ("Accessibility granted. Relaunch Lan Mouse so
capture and emulat…") was unreadable in a compact window and split
the "grant" and "relaunch" flows into two disconnected surfaces. Fold
everything into the existing warning row with state-dependent content:

- AX missing:
    title    = "input capture is disabled"
    subtitle = "grant Accessibility permission to enable"
    button   = "Grant"   → opens System Settings → Accessibility

- AX granted, daemon still bailed:
    title    = "relaunch required"
    subtitle = "Accessibility granted — restart to activate capture
                and emulation"
    button   = "Relaunch" → spawns a fresh bundle via `open` after
                            a 1s delay, then quits.

- Both active: row hidden.

The emulation_status_row is kept hidden on macOS because capture and
emulation share the same TCC gate — a single row is sufficient and
two identical-looking warnings were noisy. `handle_emulation` still
exists for the non-macOS platforms where the rows are distinct.

Side effects:
- `relaunch_bundle` moved from lib.rs to macos_privacy so imp.rs can
  call it from the row button handler.
- AX watcher callback shrinks to `window.present()` +
  `refresh_capture_emulation_status()`; the toast-based dialog is
  gone along with its helper.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>macos: drop the CapturePane / EmulationPane enums</title>
<updated>2026-04-29T20:59:43Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-04-24T13:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=8a444f98ddf9b8e4af309c63c1d97c03e56d4832'/>
<id>urn:sha1:8a444f98ddf9b8e4af309c63c1d97c03e56d4832</id>
<content type='text'>
Now that we always route Reenable clicks to the Accessibility pane on
macOS 13+ (AX transitively covers Input Monitoring listen-only and
Post Event, and the bundle isn't listed in the separate panes anyway),
the CapturePane / EmulationPane enums and their non-Accessibility
variants are dead weight. Remove them along with:

- `missing_capture_pane` / `missing_emulation_pane`
- `open_input_monitoring_settings` / `open_post_event_settings`
- `input_monitoring_granted` / `post_event_granted` preflight wrappers
- the `CGPreflightListenEventAccess` / `CGPreflightPostEventAccess`
  FFI declarations in lan-mouse-gtk (the daemon crates keep their own)

`handle_capture` / `handle_emulation` collapse to a single helper that
opens the Accessibility pane if AX is missing, otherwise just retries.
`ensure_listed_in_input_monitoring` is kept because it still has a
side effect on macOS 13/14, where Input Monitoring is a separately-
granted category.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>macos: per-pane TCC navigation and Sequoia-tolerant permission flow</title>
<updated>2026-04-29T20:59:43Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-04-24T07:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=5e79743bd05a4bcfa48f9e9262896985e767a91b'/>
<id>urn:sha1:5e79743bd05a4bcfa48f9e9262896985e767a91b</id>
<content type='text'>
On macOS the three TCC grants (Accessibility, Input Monitoring, Post
Event) live in separate Privacy panes. Before this change the
"Reenable" row sent the user to Accessibility regardless of which
grant was actually missing, and the daemon's own permission checks
re-fired the Accessibility prompt on every retry.

- lan-mouse-gtk/src/macos_privacy.rs: new module that exposes silent
  preflight checks (AXIsProcessTrusted, CGPreflightListenEventAccess,
  CGPreflightPostEventAccess), per-pane URL-scheme navigation, and
  a Once-guarded fire_initial_prompts() called from build_ui. The
  initial-prompt path only fires the Accessibility prompt if AX is
  missing and then returns; secondary registrations run only after
  AX is granted, which prevents a double Accessibility alert on
  Sequoia where Post Event is nested under Accessibility.
- Input Monitoring registration attempts CGEventTapCreate at
  kCGSessionEventTap (not kCGHIDEventTap) so a failure surfaces as
  an Input Monitoring signal rather than triggering an Accessibility
  prompt as a side effect.
- lan-mouse-gtk/src/window/imp.rs: handle_capture / handle_emulation
  switch on the missing-pane enum and navigate to the specific pane
  via x-apple.systempreferences:... URLs before re-requesting.
- lan-mouse-gtk/resources/window.ui: pill class on the Reenable
  buttons so the hover padding matches the rest of libadwaita.
- input-capture/src/macos.rs, input-emulation/src/macos.rs: make
  request_*_permission() a silent preflight (AXIsProcessTrusted /
  CGPreflightListenEventAccess / CGPreflightPostEventAccess), so the
  daemon no longer fires TCC prompts on retry — all prompting is
  owned by the GUI.
- input-capture/src/error.rs, input-emulation/src/error.rs: new
  error variants so the GUI can distinguish missing-AX from
  missing-IM / missing-PostEvent for pane routing.

Verified on macOS 15.5: first launch fires a single AX prompt;
second launch (AX granted) registers under Input Monitoring via the
session-tap attempt and requests Post Event. Sequoia auto-grants the
listen-only path via AX so the IM list may stay empty, which is the
intended OS behavior and no longer blocks capture.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add rustfmt.toml for explicit styling (#348)</title>
<updated>2025-11-02T10:52:01Z</updated>
<author>
<name>NeoTheFox</name>
<email>soniczerops@gmail.com</email>
</author>
<published>2025-11-02T10:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=3f13714d8a68e5600cf2c82977f6ce358d60ba42'/>
<id>urn:sha1:3f13714d8a68e5600cf2c82977f6ce358d60ba42</id>
<content type='text'>
* Propose an explicit .rustfnt.toml
Use 2024 style, 4 spaces for tabs and epand the default width a tad

* Auto-format the existing code with new rules</content>
</entry>
<entry>
<title>prevent authorization request spamming windows (#335)</title>
<updated>2025-10-28T06:25:01Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2025-10-28T06:25:01Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=0dd413e98990f3abd95a7db1aff53795d0a9c8a4'/>
<id>urn:sha1:0dd413e98990f3abd95a7db1aff53795d0a9c8a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unauthorized device accept notification (#282)</title>
<updated>2025-03-22T21:50:19Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2025-03-22T21:50:19Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=3ec23d71711230f1b3f0cac9a65db7372be0a288'/>
<id>urn:sha1:3ec23d71711230f1b3f0cac9a65db7372be0a288</id>
<content type='text'>
* ask the user to accept unauthorized devices

* only alert on actual error</content>
</entry>
<entry>
<title>Encryption and One-Way-Control (#200)</title>
<updated>2024-11-09T12:54:43Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2024-11-09T12:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=7677fae14b5b8ab052ad8dbe5dcdf41b56354ed3'/>
<id>urn:sha1:7677fae14b5b8ab052ad8dbe5dcdf41b56354ed3</id>
<content type='text'>
This is a major rewrite of the core networking logic enabling one-way control and encryption through the webrtc-dtls crate.

closes #164 
closes #104 </content>
</entry>
<entry>
<title>extract frontend crate (#186)</title>
<updated>2024-09-04T15:29:29Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2024-09-04T15:29:29Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=be677d4c8167b4f6cfdc56082dd698f596c59a59'/>
<id>urn:sha1:be677d4c8167b4f6cfdc56082dd698f596c59a59</id>
<content type='text'>
</content>
</entry>
</feed>
