aboutsummaryrefslogtreecommitdiff
path: root/rootston/xdg_shell_v6.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-25 13:16:35 -0500
committerGitHub <noreply@github.com>2018-02-25 13:16:35 -0500
commit3296365ce591ae4ba115befa8134bc2526b36710 (patch)
treee1b7a73b6d86e69b356bc8791a0b0996fa2842ad /rootston/xdg_shell_v6.c
parent7da653bbb4569d41ce1a46c97e3b10c675f73741 (diff)
parent202a728ee9a0e7dbfbcc7e51e060a2a9a5f09847 (diff)
Merge pull request #659 from agx/alpha
Make wlr_render_with_matrix use alpha
Diffstat (limited to 'rootston/xdg_shell_v6.c')
-rw-r--r--rootston/xdg_shell_v6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c
index 8e6674ab..eda349cb 100644
--- a/rootston/xdg_shell_v6.c
+++ b/rootston/xdg_shell_v6.c
@@ -333,7 +333,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
roots_surface->new_popup.notify = handle_new_popup;
wl_signal_add(&surface->events.new_popup, &roots_surface->new_popup);
- struct roots_view *view = calloc(1, sizeof(struct roots_view));
+ struct roots_view *view = view_create();
if (!view) {
free(roots_surface);
return;