diff --git a/output.c b/output.c index 0f49c6e..99f92e3 100644 --- a/output.c +++ b/output.c @@ -169,8 +169,6 @@ handle_new_output(struct wl_listener *listener, void *data) wlr_output->name, wlr_output->scale); } - wlr_xcursor_manager_set_cursor_image(server->seat->xcursor_manager, DEFAULT_XCURSOR, - server->seat->cursor); /* Place the cursor in the center of the screen. */ wlr_cursor_warp(server->seat->cursor, NULL, wlr_output->width / 2, wlr_output->height / 2); diff --git a/seat.c b/seat.c index 73b2d82..5379e15 100644 --- a/seat.c +++ b/seat.c @@ -20,6 +20,7 @@ #include "server.h" #include "view.h" +#define DEFAULT_XCURSOR "left_ptr" #define XCURSOR_SIZE 24 static inline bool @@ -353,7 +354,6 @@ process_cursor_motion(struct cg_seat *seat, uint32_t time) surface. There cannot be a surface without a view, either. It's both or nothing. */ if (!view) { - // wlr_xcursor_manager_set_cursor_image(seat->cursor_mgr, DEFAULT_XCURSOR, seat->cursor); wlr_seat_pointer_clear_focus(wlr_seat); } else { wlr_seat_pointer_notify_enter(wlr_seat, surface, sx, sy); diff --git a/seat.h b/seat.h index c25c03a..e7304c0 100644 --- a/seat.h +++ b/seat.h @@ -10,8 +10,6 @@ #include "server.h" #include "view.h" -#define DEFAULT_XCURSOR "left_ptr" - struct cg_seat { struct wlr_seat *seat; struct cg_server *server;