diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 27ef3347a..1466145a9 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -1099,9 +1099,10 @@ is_ascii_control_char(char x) { } - (void)loadMainMenu -{ // removed by Kovid as it generated compiler warnings +{ // removed by Kovid as it generated compiler warnings } + @end // Set up the menu bar (manually) diff --git a/kitty/glfw-wrapper.h b/kitty/glfw-wrapper.h index d9712a600..c228c7602 100644 --- a/kitty/glfw-wrapper.h +++ b/kitty/glfw-wrapper.h @@ -1133,11 +1133,13 @@ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int); * @param[in] window The window that received the event. * @param[in] xoffset The scroll offset along the x-axis. * @param[in] yoffset The scroll offset along the y-axis. + * @param[in] flags A bit-mask providing extra data about the event. flags & 1 will be true if and only if the offset values are "high-precision". Typically pixel values. Otherwise the offset values are number of lines. * * @sa @ref scrolling * @sa @ref glfwSetScrollCallback * * @since Added in version 3.0. Replaces `GLFWmousewheelfun`. + * @since Changed in version 4.0. Added `flags` parameter. * * @ingroup input */