diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-01 15:01:20 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-01 15:01:20 +0100 |
commit | 21f8388b580ab2fc6637c590ccf4a5a87ef8e158 (patch) | |
tree | 8b863bcfe859d281a3dbdf66e46e5fb1be96c6c1 | |
parent | 3668c9d86c866ec25048eb136701681c49bea62a (diff) |
examples: use NULL theme name instead of "default"
This leaves it up to wlr_xcursor_theme_load() to pick the theme
name.
-rw-r--r-- | examples/multi-pointer.c | 2 | ||||
-rw-r--r-- | examples/pointer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c index ba742e19..ee5ec98e 100644 --- a/examples/multi-pointer.c +++ b/examples/multi-pointer.c @@ -293,7 +293,7 @@ int main(int argc, char *argv[]) { clock_gettime(CLOCK_MONOTONIC, &state.last_frame); - struct wlr_xcursor_theme *theme = wlr_xcursor_theme_load("default", 16); + struct wlr_xcursor_theme *theme = wlr_xcursor_theme_load(NULL, 16); if (!theme) { wlr_log(WLR_ERROR, "Failed to load cursor theme"); return 1; diff --git a/examples/pointer.c b/examples/pointer.c index cf096fd5..1bbe0d1e 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -386,7 +386,7 @@ int main(int argc, char *argv[]) { &state.tablet_tool_axis); state.tablet_tool_axis.notify = handle_tablet_tool_axis; - state.xcursor_manager = wlr_xcursor_manager_create("default", 24); + state.xcursor_manager = wlr_xcursor_manager_create(NULL, 24); if (!state.xcursor_manager) { wlr_log(WLR_ERROR, "Failed to load default cursor"); return 1; |