mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 04:03:16 +02:00
The numbers dont make logical sense, but they do what is expected on GNOME and since only GNOME is stupid enough to insist on CSD, that's all we care about.
17 lines
465 B
C
Vendored
17 lines
465 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 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);
|