mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-08 01:53:35 +02:00
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.
16 lines
427 B
C
Vendored
16 lines
427 B
C
Vendored
/*
|
|
* Copyright (C) 2021 Kovid Goyal <kovid at kovidgoyal.net>
|
|
*
|
|
* Distributed under terms of the GPL3 license.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "internal.h"
|
|
|
|
void free_all_csd_resources(_GLFWwindow *window);
|
|
void free_csd_surfaces(_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);
|