diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 3d45fe0b..322efe85 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -880,12 +880,13 @@ extern "C" { #define GLFW_DECORATED 0x00020005 /*! @brief Window borderless areo window hint and attribute * + * This hint works only for windows! + * * Window borderless areo [window hint](@ref GLFW_BORDERLESS_AREO_hint) and * [window attribute](@ref GLFW_BORDERLESS_AREO_attrib). */ #define GLFW_BORDERLESS_AREO 0x00020015 /*! @brief Window auto-iconification window hint and attribute - * This hint works only for windows. * * Window auto-iconification [window hint](@ref GLFW_AUTO_ICONIFY_hint) and * [window attribute](@ref GLFW_AUTO_ICONIFY_attrib). diff --git a/src/win32_window.c b/src/win32_window.c index abe41122..9306d230 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -37,8 +37,6 @@ #include #include -#include - // Returns the window style for the specified window // static DWORD getWindowStyle(const _GLFWwindow* window) @@ -605,8 +603,6 @@ static void maximizeWindowManually(_GLFWwindow* window) // Window procedure for user-created windows // -#include - static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { _GLFWwindow* window = GetPropW(hWnd, L"GLFW");