aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-22 10:56:40 -0400
committerDrew DeVault <sir@cmpwn.com>2017-10-22 10:56:40 -0400
commitc5fff08f8a63b37ceb42e15641a14384efd163d2 (patch)
tree313922081c22766308d29dab4c0e32843459a648 /xwayland
parent799f8b95b72d8ea57386edf5e5e2deb59d06984c (diff)
Forgot to rename these
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index bc1bb4de..f58acb73 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -71,7 +71,7 @@ static struct wlr_xwayland_surface *wlr_xwayland_surface_create(
surface->height = height;
surface->override_redirect = override_redirect;
wl_list_insert(&xwm->new_surfaces, &surface->link);
- surface->state = list_create();
+ surface->state = wlr_list_create();
wl_signal_init(&surface->events.destroy);
wl_signal_init(&surface->events.request_configure);
wl_signal_init(&surface->events.set_class);
@@ -92,7 +92,7 @@ static void wlr_xwayland_surface_destroy(struct wlr_xwayland_surface *surface) {
free(surface->title);
free(surface->class);
free(surface->instance);
- list_free(surface->state);
+ wlr_list_free(surface->state);
free(surface->window_type);
free(surface->protocols);
free(surface->hints);
@@ -199,7 +199,7 @@ static void handle_surface_state(struct wlr_xwm *xwm,
if (action == NET_WM_STATE_REMOVE ||
action == NET_WM_STATE_TOGGLE) {
free(surface->state->items[j]);
- list_del(surface->state, j);
+ wlr_list_del(surface->state, j);
}
break;
}
@@ -209,7 +209,7 @@ static void handle_surface_state(struct wlr_xwm *xwm,
action == NET_WM_STATE_TOGGLE)) {
xcb_atom_t *atom_ptr = malloc(sizeof(xcb_atom_t));
*atom_ptr = atom;
- list_add(surface->state, atom_ptr);
+ wlr_list_add(surface->state, atom_ptr);
}
}