minimal size and formatting

This commit is contained in:
2026-01-07 20:35:41 +07:00
parent d5f736d9a6
commit b5d5793aa8
11 changed files with 63 additions and 71 deletions
+2 -4
View File
@@ -9,9 +9,8 @@ void seat_request_cursor(struct wl_listener *listener, void *data)
struct wlr_seat_pointer_request_set_cursor_event *event = data;
struct wlr_seat_client *client = server->seat->pointer_state.focused_client;
if (client == event->seat_client) {
if (client == event->seat_client)
wlr_cursor_set_surface(server->cursor, event->surface, event->hotspot_x, event->hotspot_y);
}
}
void seat_pointer_focus_change(struct wl_listener *listener, void *data)
@@ -19,9 +18,8 @@ void seat_pointer_focus_change(struct wl_listener *listener, void *data)
struct absinthe_server *server = wl_container_of(listener, server, pointer_focus_change);
struct wlr_seat_pointer_focus_change_event *event = data;
if (!event->new_surface) {
if (!event->new_surface)
wlr_cursor_set_xcursor(server->cursor, server->cursor_mgr, "default");
}
}
void seat_request_set_selection(struct wl_listener *listener, void *data)