mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
rename wlr_cursor_init to wlr_cursor_create
This commit is contained in:
parent
1fb8bc9340
commit
a51b76083e
3 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ struct wlr_cursor_state {
|
|||
struct wlr_geometry *mapped_geometry;
|
||||
};
|
||||
|
||||
struct wlr_cursor *wlr_cursor_init() {
|
||||
struct wlr_cursor *wlr_cursor_create() {
|
||||
struct wlr_cursor *cur = calloc(1, sizeof(struct wlr_cursor));
|
||||
if (!cur) {
|
||||
wlr_log(L_ERROR, "Failed to allocate wlr_cursor");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue