mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Wayland GNOME: titlebar color now follows system theme
When GNOME system theme is default, the color matches the background color. When it is dark it is dark.
This commit is contained in:
3
glfw/wl_init.c
vendored
3
glfw/wl_init.c
vendored
@@ -28,6 +28,7 @@
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include "internal.h"
|
||||
#include "wl_client_side_decorations.h"
|
||||
#include "backend_utils.h"
|
||||
#include "linux_desktop_settings.h"
|
||||
#include "../kitty/monotonic.h"
|
||||
@@ -781,7 +782,7 @@ static const struct wl_registry_listener registryListener = {
|
||||
};
|
||||
|
||||
|
||||
GLFWAPI int glfwGetCurrentSystemColorTheme(void) {
|
||||
GLFWAPI GLFWColorScheme glfwGetCurrentSystemColorTheme(void) {
|
||||
return glfw_current_system_color_theme();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user