mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 18:34:34 +00:00
Add WS_THICKFRAME for resizing undecorated windows
This commit is contained in:
parent
d966c0c3e6
commit
350600ed89
@ -470,14 +470,6 @@ void _glfwFocusWindowNull(_GLFWwindow* window)
|
||||
_glfwInputWindowFocus(window, GLFW_TRUE);
|
||||
}
|
||||
|
||||
void _glfwPlatformDragWindow(_GLFWwindow* window)
|
||||
{
|
||||
}
|
||||
|
||||
void _glfwPlatformResizeWindow(_GLFWwindow* window, int border)
|
||||
{
|
||||
}
|
||||
|
||||
int _glfwPlatformWindowFocused(_GLFWwindow* window)
|
||||
{
|
||||
return _glfw.null.focusedWindow == window;
|
||||
|
@ -58,7 +58,12 @@ static DWORD getWindowStyle(const _GLFWwindow* window)
|
||||
style |= WS_MAXIMIZEBOX | WS_THICKFRAME;
|
||||
}
|
||||
else
|
||||
{
|
||||
style |= WS_POPUP;
|
||||
|
||||
if (window->resizable)
|
||||
style |= WS_THICKFRAME;
|
||||
}
|
||||
}
|
||||
|
||||
return style;
|
||||
|
Loading…
Reference in New Issue
Block a user