Wayland: Remove duplicate fullscreen check

This check is already performed in shared code.
master
Camilla Löwy ago%!(EXTRA string=3 years)
parent 18df0baea6
commit c28d420060
  1. 3
      src/wl_window.c

@ -2097,15 +2097,12 @@ void _glfwSetWindowResizableWayland(_GLFWwindow* window, GLFWbool enabled)
} }
void _glfwSetWindowDecoratedWayland(_GLFWwindow* window, GLFWbool enabled) void _glfwSetWindowDecoratedWayland(_GLFWwindow* window, GLFWbool enabled)
{
if (!window->monitor)
{ {
if (enabled) if (enabled)
createDecorations(window); createDecorations(window);
else else
destroyDecorations(window); destroyDecorations(window);
} }
}
void _glfwSetWindowFloatingWayland(_GLFWwindow* window, GLFWbool enabled) void _glfwSetWindowFloatingWayland(_GLFWwindow* window, GLFWbool enabled)
{ {

Loading…
Cancel
Save