diff options
author | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-14 17:45:42 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-18 16:48:44 +0200 |
commit | 666498db015ad1439a8916bce609baf8fa042b5d (patch) | |
tree | ae464b90886f4cdb8838974edcb67709568162fd /include/wlr | |
parent | 2988ebb6f37e201ba5884aa434aa7120fa951852 (diff) |
Make wlr_xcursor_manager_load() return a bool
This is currently inconsistent with the rest of the library and a bit of
a footgun for new compositors. However, this breaks the API in a very
unfortunate way for existing compositors.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_xcursor_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_xcursor_manager.h b/include/wlr/types/wlr_xcursor_manager.h index 25c277c1..a9530214 100644 --- a/include/wlr/types/wlr_xcursor_manager.h +++ b/include/wlr/types/wlr_xcursor_manager.h @@ -46,7 +46,7 @@ void wlr_xcursor_manager_destroy(struct wlr_xcursor_manager *manager); /** * Ensures an xcursor theme at the given scale factor is loaded in the manager. */ -int wlr_xcursor_manager_load(struct wlr_xcursor_manager *manager, +bool wlr_xcursor_manager_load(struct wlr_xcursor_manager *manager, float scale); /** |