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.
This commit is contained in:
Isaac Freund 2020-05-14 17:45:42 +02:00 committed by Simon Ser
parent 2988ebb6f3
commit 666498db01
2 changed files with 6 additions and 6 deletions

View file

@ -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);
/**