Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
19 lines
366 B
C
Vendored
19 lines
366 B
C
Vendored
// Declarations for a HiDPI-aware cursor theme manager.
|
|
|
|
#include <wayland-cursor.h>
|
|
|
|
typedef struct {
|
|
struct wl_cursor_theme *theme;
|
|
int scale;
|
|
} GLFWWLCursorTheme;
|
|
|
|
|
|
typedef struct {
|
|
GLFWWLCursorTheme *themes;
|
|
size_t count, capacity;
|
|
} GLFWWLCursorThemes;
|
|
|
|
|
|
struct wl_cursor_theme *glfw_wlc_theme_for_scale(int scale);
|
|
void glfw_wlc_destroy(void);
|