This was not supposed to be part of the same pull request as the getProcAddress fix. I was planning to create another request.
Calling the resize func when setting a window size callback is part of glfw 2.7 specifications. Here is an extract from glfw doc: "When a callback function is set, it will be called with the current window size before this function returns". This is very useful indeed...