mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 09:18:08 +02:00
...
This commit is contained in:
2
glfw/linux_desktop_settings.c
vendored
2
glfw/linux_desktop_settings.c
vendored
@@ -259,7 +259,7 @@ glfw_initialize_desktop_settings(void) {
|
|||||||
get_cursor_theme_from_env();
|
get_cursor_theme_from_env();
|
||||||
DBusConnection *session_bus = glfw_dbus_session_bus();
|
DBusConnection *session_bus = glfw_dbus_session_bus();
|
||||||
if (session_bus) {
|
if (session_bus) {
|
||||||
if (!read_desktop_settings(session_bus)) _glfwInputError(GLFW_PLATFORM_ERROR, "Failed to read desktop settings, make sure you have the desktop portal running.");
|
if (!read_desktop_settings(session_bus)) _glfwInputError(GLFW_PLATFORM_ERROR, "WARNING: Failed to read desktop settings, using defaults, make sure you have the desktop portal running.");
|
||||||
dbus_bus_add_match(session_bus, "type='signal',interface='" DESKTOP_INTERFACE "',member='SettingChanged'", NULL);
|
dbus_bus_add_match(session_bus, "type='signal',interface='" DESKTOP_INTERFACE "',member='SettingChanged'", NULL);
|
||||||
dbus_connection_add_filter(session_bus, setting_changed, NULL, NULL);
|
dbus_connection_add_filter(session_bus, setting_changed, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user