diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-02-23 11:50:09 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-02-25 13:47:43 +0100 |
commit | e6ca78b0e4b81e02958628c4b3b4db911b51714b (patch) | |
tree | ef90e62f36cc84dc5d04bc38119454c9bd495544 /rootston/xwayland.c | |
parent | 69409ea3cb3bfba52df9ff35a9b58f6f1b3dc25e (diff) |
rootston: add view_create
so we can do basic view setup. Will be used to initialize alpha.
Diffstat (limited to 'rootston/xwayland.c')
-rw-r--r-- | rootston/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/xwayland.c b/rootston/xwayland.c index e9e0d5e0..f917fe5d 100644 --- a/rootston/xwayland.c +++ b/rootston/xwayland.c @@ -317,7 +317,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) { wl_signal_add(&surface->surface->events.commit, &roots_surface->surface_commit); - struct roots_view *view = calloc(1, sizeof(struct roots_view)); + struct roots_view *view = view_create(); if (view == NULL) { free(roots_surface); return; |