panel: use an anchor of 0 for --edge=center-sized

Fixes #9116
This commit is contained in:
alex-huff 2025-10-16 10:04:55 -05:00
parent f06f85a9e0
commit 10e0d11093

1
glfw/wl_window.c vendored
View file

@ -1054,6 +1054,7 @@ layer_set_properties(const _GLFWwindow *window, bool during_creation, uint32_t w
case GLFW_EDGE_CENTER:
break;
case GLFW_EDGE_CENTER_SIZED:
which_anchor = 0;
panel_width = width; panel_height = height;
break;
case GLFW_EDGE_NONE: