Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pirvi-public
glfw
Commits
4a42364a
Commit
4a42364a
authored
Dec 19, 2017
by
Emmanuel Gil Peyrot
Committed by
linkmauve
Feb 25, 2018
Browse files
Return correct values for frame size
parent
9f7ec6b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wl_window.c
View file @
4a42364a
...
@@ -898,8 +898,14 @@ void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
...
@@ -898,8 +898,14 @@ void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
int
*
left
,
int
*
top
,
int
*
left
,
int
*
top
,
int
*
right
,
int
*
bottom
)
int
*
right
,
int
*
bottom
)
{
{
// TODO: will need a proper implementation once decorations are
if
(
top
)
// implemented, but for now just leave everything as 0.
*
top
=
_GLFW_DECORATION_TOP
;
if
(
left
)
*
left
=
_GLFW_DECORATION_WIDTH
;
if
(
right
)
*
right
=
_GLFW_DECORATION_WIDTH
;
if
(
bottom
)
*
bottom
=
_GLFW_DECORATION_WIDTH
;
}
}
void
_glfwPlatformGetWindowContentScale
(
_GLFWwindow
*
window
,
void
_glfwPlatformGetWindowContentScale
(
_GLFWwindow
*
window
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment