mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 22:52:20 +00:00
Add more exotic cursor for layer shell example
So it's more obvious that it's being set
This commit is contained in:
parent
2701a964cf
commit
2053a4c144
@ -388,7 +388,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
assert(cursor_theme = wl_cursor_theme_load(NULL, 16, shm));
|
||||
struct wl_cursor *cursor;
|
||||
assert(cursor = wl_cursor_theme_get_cursor(cursor_theme, "left_ptr"));
|
||||
assert(cursor = wl_cursor_theme_get_cursor(cursor_theme, "crosshair"));
|
||||
cursor_image = cursor->images[0];
|
||||
assert(cursor_surface = wl_compositor_create_surface(compositor));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user