aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'rootston')
-rw-r--r--rootston/cursor.c2
-rw-r--r--rootston/output.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 83581101..200a6d37 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -374,8 +374,6 @@ static void handle_drag_icon_commit(struct wl_listener *listener, void *data) {
// toolkits to see how we should interpret the surface state here.
drag_icon->sx += drag_icon->surface->current->sx;
drag_icon->sy += drag_icon->surface->current->sy;
-
- drag_icon->mapped = drag_icon->surface->texture->valid;
}
static void handle_pointer_grab_begin(struct wl_listener *listener,
diff --git a/rootston/output.c b/rootston/output.c
index fce14fea..f560061d 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -152,10 +152,6 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
struct roots_drag_icon *drag_icon = NULL;
wl_list_for_each(drag_icon, &server->input->drag_icons, link) {
- if (!drag_icon->mapped) {
- continue;
- }
-
struct wlr_surface *icon = drag_icon->surface;
struct wlr_cursor *cursor = server->input->cursor;
double icon_x = cursor->x + drag_icon->sx;