Use the correct mouse cursor theme on GNOME

Relies on a working desktop settings portal (xdg-desktop-portal-gtk)
This commit is contained in:
Kovid Goyal
2021-03-25 12:20:13 +05:30
parent 3d0cff1f47
commit 63a50ec066
8 changed files with 166 additions and 34 deletions

14
glfw/linux_desktop_settings.h vendored Normal file
View File

@@ -0,0 +1,14 @@
/*
* Copyright (C) 2021 Kovid Goyal <kovid at kovidgoyal.net>
*
* Distributed under terms of the GPL3 license.
*/
#pragma once
#include "dbus_glfw.h"
#include "internal.h"
void glfw_initialize_desktop_settings(void);
void glfw_current_cursor_theme(const char **theme, int *size);