chore: import official kitty sources from upstream

Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
This commit is contained in:
BlackAngelTV committed 2026-11-04 11:35:59 +01:00
commit 3d174c45a4
1134 files changed
+433629

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
/*
* Copyright (C) 2026 Kovid Goyal <kovid at kovidgoyal.net>
*
* Distributed under terms of the GPL3 license.
*/
#pragma once
#include "dbus_glfw.h"
#include "internal.h"
// The session states reported by the Inhibit desktop portal
#define GLFW_SESSION_STATE_RUNNING 1
#define GLFW_SESSION_STATE_QUERY_END 2
#define GLFW_SESSION_STATE_ENDING 3
typedef void (*GLFWDBussessionstatefun)(uint32_t);
bool glfw_dbus_monitor_session_state(GLFWDBussessionstatefun callback);