aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/desktop/layer_shell.c2
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(
429 struct wlr_subsurface *wlr_subsurface, 429 struct wlr_subsurface *wlr_subsurface,
430 struct sway_layer_surface *layer_surface) { 430 struct sway_layer_surface *layer_surface) {
431 struct sway_layer_subsurface *subsurface = 431 struct sway_layer_subsurface *subsurface =
432 calloc(1, sizeof(struct sway_layer_surface)); 432 calloc(1, sizeof(struct sway_layer_subsurface));
433 if (subsurface == NULL) { 433 if (subsurface == NULL) {
434 return NULL; 434 return NULL;
435 } 435 }