More precise error on resize panel attempt

This commit is contained in:
Kovid Goyal
2025-04-21 12:32:20 +05:30
parent 796ee602de
commit 64b5d2d187
11 changed files with 40 additions and 16 deletions

4
glfw/wl_window.c vendored
View File

@@ -2830,6 +2830,10 @@ GLFWAPI void glfwWaylandSetupLayerShellForNextWindow(const GLFWLayerShellConfig
layer_shell_config_for_next_window = *c;
}
GLFWAPI GLFWLayerShellConfig* glfwWaylandLayerShellConfig(GLFWwindow *handle) {
return &((_GLFWwindow*)handle)->wl.layer_shell.config;
}
GLFWAPI bool glfwWaylandIsWindowFullyCreated(GLFWwindow *handle) { return handle != NULL && ((_GLFWwindow*)handle)->wl.window_fully_created; }
void