Fix GNOME breaking when setting window geometry

The current version of GNOME has a regression that causes the compositor
to send incorrect geometry with the next configure event if the CSD
buffers are created after a call to set_window_geometry.

So call set_window_geometry last. And shake head sadly.
This commit is contained in:
Kovid Goyal
2021-04-07 22:14:09 +05:30
parent 82a5733ec5
commit 4e6d5d3f1e
4 changed files with 24 additions and 24 deletions

View File

@@ -10,7 +10,6 @@
void free_all_csd_resources(_GLFWwindow *window);
void free_csd_surfaces(_GLFWwindow *window);
void resize_csd(_GLFWwindow *window);
void change_csd_title(_GLFWwindow *window);
bool ensure_csd_resources(_GLFWwindow *window);
void set_csd_window_geometry(_GLFWwindow *window, int32_t *width, int32_t *height);