aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-06-05 18:17:42 -0400
committerTony Crisci <tony@dubstepdish.com>2018-06-05 18:17:42 -0400
commit1c75d4e54a877bb1918afb5bf23c2c142ca30b78 (patch)
tree2ca3bebe1239b6a51b7ac2006f3ac6e3ce852729 /rootston
parent7366e1ced972f495a87eaff81706a83b5de56cf1 (diff)
rename drag-icon map to unmap
Diffstat (limited to 'rootston')
-rw-r--r--rootston/seat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index b137ff11..81cedc5a 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -263,10 +263,10 @@ static void roots_drag_icon_handle_surface_commit(struct wl_listener *listener,
roots_drag_icon_damage_whole(icon);
}
-static void roots_drag_icon_handle_map(struct wl_listener *listener,
+static void roots_drag_icon_handle_unmap(struct wl_listener *listener,
void *data) {
struct roots_drag_icon *icon =
- wl_container_of(listener, icon, map);
+ wl_container_of(listener, icon, unmap);
roots_drag_icon_damage_whole(icon);
}
@@ -278,7 +278,7 @@ static void roots_drag_icon_handle_destroy(struct wl_listener *listener,
wl_list_remove(&icon->link);
wl_list_remove(&icon->surface_commit.link);
- wl_list_remove(&icon->map.link);
+ wl_list_remove(&icon->unmap.link);
wl_list_remove(&icon->destroy.link);
free(icon);
}
@@ -297,8 +297,8 @@ static void roots_seat_handle_new_drag_icon(struct wl_listener *listener,
icon->surface_commit.notify = roots_drag_icon_handle_surface_commit;
wl_signal_add(&wlr_drag_icon->surface->events.commit, &icon->surface_commit);
- icon->map.notify = roots_drag_icon_handle_map;
- wl_signal_add(&wlr_drag_icon->events.map, &icon->map);
+ icon->unmap.notify = roots_drag_icon_handle_unmap;
+ wl_signal_add(&wlr_drag_icon->events.unmap, &icon->unmap);
icon->destroy.notify = roots_drag_icon_handle_destroy;
wl_signal_add(&wlr_drag_icon->events.destroy, &icon->destroy);