glfw.diff (1667B)


      1 diff --git a/src/wl_window.c b/src/wl_window.c
      2 index 5b491ff..986f872 100644
      3 --- a/src/wl_window.c
      4 +++ b/src/wl_window.c
      5 @@ -2227,8 +2227,8 @@ void _glfwSetWindowTitleWayland(_GLFWwindow* window, const char* title)
      6  void _glfwSetWindowIconWayland(_GLFWwindow* window,
      7                                 int count, const GLFWimage* images)
      8  {
      9 -    _glfwInputError(GLFW_FEATURE_UNAVAILABLE,
     10 -                    "Wayland: The platform does not support setting the window icon");
     11 +    //_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
     12 +    //                "Wayland: The platform does not support setting the window icon");
     13  }
     14  
     15  void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos)
     16 @@ -2236,16 +2236,16 @@ void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos)
     17      // A Wayland client is not aware of its position, so just warn and leave it
     18      // as (0, 0)
     19  
     20 -    _glfwInputError(GLFW_FEATURE_UNAVAILABLE,
     21 -                    "Wayland: The platform does not provide the window position");
     22 +    //_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
     23 +    //                "Wayland: The platform does not provide the window position");
     24  }
     25  
     26  void _glfwSetWindowPosWayland(_GLFWwindow* window, int xpos, int ypos)
     27  {
     28      // A Wayland client can not set its position, so just warn
     29  
     30 -    _glfwInputError(GLFW_FEATURE_UNAVAILABLE,
     31 -                    "Wayland: The platform does not support setting the window position");
     32 +    //_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
     33 +    //                "Wayland: The platform does not support setting the window position");
     34  }
     35  
     36  void _glfwGetWindowSizeWayland(_GLFWwindow* window, int* width, int* height)