Skip to content

fixed the app for macos#1

Merged
kewonit merged 2 commits into
kewonit:mainfrom
msk1039:macos-fix
Apr 12, 2026
Merged

fixed the app for macos#1
kewonit merged 2 commits into
kewonit:mainfrom
msk1039:macos-fix

Conversation

@msk1039
Copy link
Copy Markdown
Contributor

@msk1039 msk1039 commented Apr 10, 2026

Problem :
1)Both rdev::listen and rdev::simulate silently fail on macOS without Accessibility permissions, producing no errors
2)The main event loop wasn't pumping the macOS CoreFoundation run loop, causing the tray icon and menu to be unresponsive
3) Event simulation was using a 1ms delay, but macOS requires at least 20ms between simulated events for the OS to process them

changes

  • Added explicit CFRunLoopRunInMode() calls in the main thread event loop on macOS
  • Increased SIMULATE_DELAY_MS from 1ms to 20ms on macOS
  • Added core-foundation = "0.9" as a macOS-specific dependency for CoreFoundation API access

@kewonit kewonit added the bug Something isn't working label Apr 11, 2026
@kewonit kewonit merged commit 102de4a into kewonit:main Apr 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants