-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift rewrite #2
Conversation
Features to implement:
Taken from https://github.com/loki-chat/lokinit/blob/main/FEATURES.md Events to support:
Taken from |
I discovered another bug: while resizing, move the cursor very fast to try to shrink the window to 0. The window disappears and never reappears again. |
Source for mouse button numbers: |
Source for keycodes: https://developer.mozilla.org/en-US/docs/web/api/ui_events/keyboard_event_code_values#code_values_on_mac This may be useable for other platforms as well. |
Moved progress tracking to #3 |
A rewrite of all the Swift code, which minimises calls to
NSApp.sendEvent
(a method which causes random hangs/pauses while we're trying to handle events).Bugs
NSCursor
(like a race condition from setting the cursor twice or something), not my code, but it's still an issue.