Elias Naur
b1f84da679
app: [macOS] implement custom event dispatching
...
To get rid of app.Main, we need to control the main thread. The macOS
[NSApp run] must be called on the main goroutine and never yields control.
Implement the escape hatch which is calling [NSApp stop] to force
[NSApp run] to return and allow us to fetch and dispatch events one at a
time.
This change is separate from the larger change removing app.Main to ease
bisecting.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2024-02-08 18:53:12 +00:00
..
2024-02-08 18:45:26 +00:00
2022-08-06 12:26:03 +02:00
2024-02-08 18:51:38 +00:00
2023-12-16 14:19:19 -06:00
2021-07-26 15:17:51 +02:00
2024-02-08 18:52:04 +00:00
2022-10-22 15:10:18 -06:00
2024-02-08 18:45:15 +00:00
2022-10-22 15:10:18 -06:00
2024-02-08 18:45:15 +00:00
2021-08-29 22:00:16 +02:00
2021-08-29 22:00:16 +02:00
2022-08-02 17:04:51 +02:00
2024-02-08 18:45:15 +00:00
2022-01-05 11:49:29 +01:00
2021-08-29 22:00:16 +02:00
2022-09-15 06:58:27 -06:00
2022-08-01 01:33:21 +02:00
2022-08-01 01:33:21 +02:00
2024-02-05 11:09:36 +00:00
2024-02-08 17:21:59 +00:00
2024-02-08 18:45:26 +00:00
2024-02-08 18:45:26 +00:00
2024-02-08 18:45:26 +00:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:53:12 +00:00
2024-02-08 18:53:12 +00:00
2024-02-08 18:53:12 +00:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:53:12 +00:00
2024-02-08 18:53:12 +00:00
2024-02-08 18:51:38 +00:00
2022-01-27 15:32:42 +01:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:52:04 +00:00
2024-02-08 18:52:04 +00:00
2021-08-29 22:00:16 +02:00
2024-02-08 18:52:04 +00:00
2021-12-30 09:50:11 +01:00
2021-09-23 12:35:26 +02:00
2021-09-23 12:35:26 +02:00
2022-03-11 20:34:49 +01:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2024-02-08 18:52:04 +00:00