diff options
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/cursor.c | 4 | ||||
-rw-r--r-- | sway/input/seat.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index abc6c554..7a4dd19f 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -236,7 +236,7 @@ void cursor_update_image(struct sway_cursor *cursor, | |||
236 | // Try a node's resize edge | 236 | // Try a node's resize edge |
237 | enum wlr_edges edge = find_resize_edge(node->sway_container, NULL, cursor); | 237 | enum wlr_edges edge = find_resize_edge(node->sway_container, NULL, cursor); |
238 | if (edge == WLR_EDGE_NONE) { | 238 | if (edge == WLR_EDGE_NONE) { |
239 | cursor_set_image(cursor, "left_ptr", NULL); | 239 | cursor_set_image(cursor, "default", NULL); |
240 | } else if (container_is_floating(node->sway_container)) { | 240 | } else if (container_is_floating(node->sway_container)) { |
241 | cursor_set_image(cursor, wlr_xcursor_get_resize_name(edge), NULL); | 241 | cursor_set_image(cursor, wlr_xcursor_get_resize_name(edge), NULL); |
242 | } else { | 242 | } else { |
@@ -247,7 +247,7 @@ void cursor_update_image(struct sway_cursor *cursor, | |||
247 | } | 247 | } |
248 | } | 248 | } |
249 | } else { | 249 | } else { |
250 | cursor_set_image(cursor, "left_ptr", NULL); | 250 | cursor_set_image(cursor, "default", NULL); |
251 | } | 251 | } |
252 | } | 252 | } |
253 | 253 | ||
diff --git a/sway/input/seat.c b/sway/input/seat.c index fdd21057..82f4eb5f 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -671,7 +671,7 @@ static void seat_update_capabilities(struct sway_seat *seat) { | |||
671 | } else { | 671 | } else { |
672 | wlr_seat_set_capabilities(seat->wlr_seat, caps); | 672 | wlr_seat_set_capabilities(seat->wlr_seat, caps); |
673 | if ((previous_caps & WL_SEAT_CAPABILITY_POINTER) == 0) { | 673 | if ((previous_caps & WL_SEAT_CAPABILITY_POINTER) == 0) { |
674 | cursor_set_image(seat->cursor, "left_ptr", NULL); | 674 | cursor_set_image(seat->cursor, "default", NULL); |
675 | } | 675 | } |
676 | } | 676 | } |
677 | } | 677 | } |
@@ -1039,7 +1039,7 @@ void seat_configure_xcursor(struct sway_seat *seat) { | |||
1039 | 1039 | ||
1040 | wlr_xcursor_manager_load(server.xwayland.xcursor_manager, 1); | 1040 | wlr_xcursor_manager_load(server.xwayland.xcursor_manager, 1); |
1041 | struct wlr_xcursor *xcursor = wlr_xcursor_manager_get_xcursor( | 1041 | struct wlr_xcursor *xcursor = wlr_xcursor_manager_get_xcursor( |
1042 | server.xwayland.xcursor_manager, "left_ptr", 1); | 1042 | server.xwayland.xcursor_manager, "default", 1); |
1043 | if (xcursor != NULL) { | 1043 | if (xcursor != NULL) { |
1044 | struct wlr_xcursor_image *image = xcursor->images[0]; | 1044 | struct wlr_xcursor_image *image = xcursor->images[0]; |
1045 | wlr_xwayland_set_cursor( | 1045 | wlr_xwayland_set_cursor( |
@@ -1082,7 +1082,7 @@ void seat_configure_xcursor(struct sway_seat *seat) { | |||
1082 | 1082 | ||
1083 | // Reset the cursor so that we apply it to outputs that just appeared | 1083 | // Reset the cursor so that we apply it to outputs that just appeared |
1084 | cursor_set_image(seat->cursor, NULL, NULL); | 1084 | cursor_set_image(seat->cursor, NULL, NULL); |
1085 | cursor_set_image(seat->cursor, "left_ptr", NULL); | 1085 | cursor_set_image(seat->cursor, "default", NULL); |
1086 | wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x, | 1086 | wlr_cursor_warp(seat->cursor->cursor, NULL, seat->cursor->cursor->x, |
1087 | seat->cursor->cursor->y); | 1087 | seat->cursor->cursor->y); |
1088 | } | 1088 | } |