You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
[DisplayServer] Implement get_accent_color on Linux.
This commit is contained in:
@@ -302,6 +302,10 @@ bool DisplayServerWayland::is_dark_mode() const {
|
||||
}
|
||||
}
|
||||
|
||||
Color DisplayServerWayland::get_accent_color() const {
|
||||
return portal_desktop->get_appearance_accent_color();
|
||||
}
|
||||
|
||||
void DisplayServerWayland::set_system_theme_change_callback(const Callable &p_callable) {
|
||||
portal_desktop->set_system_theme_change_callback(p_callable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user