1
0
mirror of https://codeberg.org/vyivel/dulcepan/ synced 2025-12-23 02:06:48 +02:00

seat: set default cursor on enter

Fixes: https://codeberg.org/vyivel/dulcepan/issues/5
This commit is contained in:
Kirill Primak
2024-06-20 08:28:50 +03:00
parent 4ffc074c10
commit afb4bf1a39
4 changed files with 17 additions and 0 deletions

View File

@@ -76,6 +76,8 @@ struct dp_seat {
struct xkb_keymap *xkb_keymap;
struct xkb_state *xkb_state;
struct wp_cursor_shape_device_v1 *cursor_shape_device;
// The output the pointer is on
struct dp_output *ptr_output;
// In buffer space
@@ -121,6 +123,7 @@ struct dp_state {
struct wl_shm *shm;
struct zwlr_layer_shell_v1 *layer_shell;
struct zwlr_screencopy_manager_v1 *screencopy_manager;
struct wp_cursor_shape_manager_v1 *cursor_shape_manager;
bool initialized;