mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Wayland: Remove duplicate fullscreen check
This check is already performed in shared code.
(cherry picked from commit c28d420060
)
This commit is contained in:
parent
8de0c1cdc1
commit
e04a7d152a
@ -2161,13 +2161,10 @@ void _glfwPlatformSetWindowResizable(_GLFWwindow* window, GLFWbool enabled)
|
|||||||
|
|
||||||
void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled)
|
void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled)
|
||||||
{
|
{
|
||||||
if (!window->monitor)
|
if (enabled)
|
||||||
{
|
createDecorations(window);
|
||||||
if (enabled)
|
else
|
||||||
createDecorations(window);
|
destroyDecorations(window);
|
||||||
else
|
|
||||||
destroyDecorations(window);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
|
void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user