aboutsummaryrefslogtreecommitdiff
path: root/rootston/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/xwayland.c')
-rw-r--r--rootston/xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/xwayland.c b/rootston/xwayland.c
index 88965f0d..aaf55b37 100644
--- a/rootston/xwayland.c
+++ b/rootston/xwayland.c
@@ -45,5 +45,5 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
view->desktop = desktop;
view->activate = x11_activate;
roots_surface->view = view;
- wl_list_insert(&desktop->views, &view->link);
+ list_add(desktop->views, view);
}