Skip to content

Fix macOS timer not firing during modal loop.#1028

Merged
xStrom merged 2 commits intolinebender:masterfrom
xStrom:mac-timer
Jun 18, 2020
Merged

Fix macOS timer not firing during modal loop.#1028
xStrom merged 2 commits intolinebender:masterfrom
xStrom:mac-timer

Conversation

@xStrom
Copy link
Member

@xStrom xStrom commented Jun 12, 2020

Currently the timers on macOS fire only when the application run loop is in default mode. This PR changes that to allow them to fire also during modal loops.

This can be tested easily with the timer example by opening the application menu. Without this PR the box stops moving.

This fixes the macOS part of #881.

@xStrom xStrom added shell/mac concerns the macOS backend S-needs-review waits for review labels Jun 12, 2020
Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@xStrom xStrom removed the S-needs-review waits for review label Jun 17, 2020
@xStrom xStrom merged commit fdba642 into linebender:master Jun 18, 2020
@xStrom xStrom deleted the mac-timer branch June 18, 2020 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shell/mac concerns the macOS backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants