==15831== 368 (32 direct, 336 indirect) bytes in 1 blocks are definitely lost in loss record 60 of 70
==15831== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15831== by 0x40B21F: _glfwPlatformInit (wl_init.c:553)
==15831== by 0x40612E: glfwInit (init.c:125)
==15831== by 0x4052AE: main (simple.c:49)
==15753== 24 bytes in 1 blocks are definitely lost in loss record 22 of 71
==15753== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15753== by 0x40BAE1: _glfwPlatformGetVideoModes (wl_monitor.c:216)
==15753== by 0x40B9D6: _glfwPlatformGetMonitors (wl_monitor.c:184)
==15753== by 0x406151: glfwInit (init.c:131)
==15753== by 0x4052AE: main (simple.c:49)
Fixed incorrect error types. Added missing error string prefixes.
Removed some invalid or superfluous error emissions. Clarified some
error strings. Joined error string lines to aid grep. Replaced some
generic error strings with specific ones. Documentation work.
Fixes#450.
The request is now only made when necessary and times out after 500ms.
This breaks our end of the protocol to work around broken
implementations at the other end.
It uses the GLFW timer instead of select, as select is not guaranteed to
update the timeout with the time remaining and a single select is not
sufficient as other events may be incoming.
Fixes#368 (mostly).
Fixes#429 (mostly).
Changed set_type --> set_state.
Give more info back when an error happens with a connection/surface.
Small var name change size --> mirPixelFormats.
Fixes#412.
Changed the window states (focused, iconified and visible) to query the
system directly.
THIS IS A BREAKING CHANGE, although a fairly obscure one. It affects
applications that both care about telling actual key events from
synthetic ones, and are implemented in a non-self-synchronizing way, and
that poll the GLFW_FOCUSED window attribute instead of using the window
focus callback.
If you maintain one of these, please feel free to drop me an email and
I'll help any way I can to transition your application to 3.1.
Fixes#189.
Fixes#204.