FlorianRhiem / pyGLFW

Python bindings for GLFW
MIT License
233 stars 36 forks source link

`get_monitor_workarea()` returns zero width and height on Apple SIlicon #73

Closed jonathanhogg closed 11 months ago

jonathanhogg commented 12 months ago

The glfwGetMonitorWorkarea() function returns 0 for the monitor work area width and height on Apple Silicon (verified on macOS Sonoma). On Intel it returns the correct width and height.

I'm about to open a PR with the fix – it's just missing types in the ctypes spec.

jonathanhogg commented 12 months ago

It's odd, with these missing types, that it even works at all…