diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2021-01-29 21:43:07 -0500 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2021-01-30 02:28:39 -0500 |
commit | f8c6fc1944304ede26fc2f6fb7020535bf4c6cce (patch) | |
tree | 4a22686139ca40660d971e4cb3bbed4726020f9e /sway/desktop | |
parent | 4d43f1dd996e61e38d89adf0ad1435dac32e38a5 (diff) | |
download | sway-f8c6fc1944304ede26fc2f6fb7020535bf4c6cce.tar.xz |
desktop/layer_shell: Fix allocation type mismatch
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/layer_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index d4ca4fb4..c5b6d19c 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -429,7 +429,7 @@ static struct sway_layer_subsurface *create_subsurface( struct wlr_subsurface *wlr_subsurface, struct sway_layer_surface *layer_surface) { struct sway_layer_subsurface *subsurface = - calloc(1, sizeof(struct sway_layer_surface)); + calloc(1, sizeof(struct sway_layer_subsurface)); if (subsurface == NULL) { return NULL; } |