Wayland: Fix incorrect window size calculation when transitioning from fullscreen to non-fullscreen with client side decorations

Fixes #8826
This commit is contained in:
Kovid Goyal
2025-07-17 20:36:38 +05:30
parent c16e2aad05
commit 7738c55c4b
4 changed files with 16 additions and 7 deletions

View File

@@ -13,5 +13,6 @@ void csd_free_all_resources(_GLFWwindow *window);
bool csd_change_title(_GLFWwindow *window);
void csd_set_window_geometry(_GLFWwindow *window, int32_t *width, int32_t *height);
bool csd_set_titlebar_color(_GLFWwindow *window, uint32_t color, bool use_system_color);
bool csd_should_window_be_decorated(_GLFWwindow *window);
void csd_set_visible(_GLFWwindow *window, bool visible);
void csd_handle_pointer_event(_GLFWwindow *window, int button, int state, struct wl_surface* surface);