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
4778d02c
Commit
4778d02c
authored
Jan 04, 2018
by
Emmanuel Gil Peyrot
Committed by
linkmauve
Jan 29, 2018
Browse files
Ignore _glfwPlatformShowWindow when already visible
parent
f710db65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wl_window.c
View file @
4778d02c
...
...
@@ -816,11 +816,14 @@ void _glfwPlatformMaximizeWindow(_GLFWwindow* window)
void
_glfwPlatformShowWindow
(
_GLFWwindow
*
window
)
{
if
(
_glfw
.
wl
.
wmBase
&&
!
window
->
wl
.
xdg
.
toplevel
)
createXdgSurface
(
window
);
else
if
(
!
window
->
wl
.
shellSurface
)
createShellSurface
(
window
);
window
->
wl
.
visible
=
GLFW_TRUE
;
if
(
!
window
->
wl
.
visible
)
{
if
(
_glfw
.
wl
.
wmBase
)
createXdgSurface
(
window
);
else
if
(
!
window
->
wl
.
shellSurface
)
createShellSurface
(
window
);
window
->
wl
.
visible
=
GLFW_TRUE
;
}
}
void
_glfwPlatformHideWindow
(
_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