mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-05-05 06:47:25 -04:00
main: jump to cleanup on failure to load cursor pointer theme
This commit is contained in:
parent
153894eb73
commit
519f721577
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -507,7 +507,7 @@ main(int argc, char *const *argv)
|
||||||
term.wl.shm);
|
term.wl.shm);
|
||||||
if (term.wl.pointer.theme == NULL) {
|
if (term.wl.pointer.theme == NULL) {
|
||||||
LOG_ERR("failed to load cursor theme");
|
LOG_ERR("failed to load cursor theme");
|
||||||
return false;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
term.wl.pointer.cursor = wl_cursor_theme_get_cursor(
|
term.wl.pointer.cursor = wl_cursor_theme_get_cursor(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue