Add more exotic cursor for layer shell example

So it's more obvious that it's being set
This commit is contained in:
Drew DeVault 2018-03-30 21:02:28 -04:00
parent 2701a964cf
commit 2053a4c144

View file

@ -388,7 +388,7 @@ int main(int argc, char **argv) {
assert(cursor_theme = wl_cursor_theme_load(NULL, 16, shm)); assert(cursor_theme = wl_cursor_theme_load(NULL, 16, shm));
struct wl_cursor *cursor; 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]; cursor_image = cursor->images[0];
assert(cursor_surface = wl_compositor_create_surface(compositor)); assert(cursor_surface = wl_compositor_create_surface(compositor));