mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue