mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Simplifies a bunch of code and also gives us the option at a later date to turn off some shadows selectively when the window is in a tiled state.
18 lines
633 B
C
Vendored
18 lines
633 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 csd_initialize_metrics(_GLFWwindow *window);
|
|
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);
|
|
void csd_set_visible(_GLFWwindow *window, bool visible);
|
|
void csd_handle_pointer_event(_GLFWwindow *window, int button, int state, struct wl_surface* surface);
|