diff --git a/dwl.c b/dwl.c
index 798ba80..36d3327 100644
--- a/dwl.c
+++ b/dwl.c
@@ -596,6 +596,8 @@ arrangelayers(Monitor *m)
 		ZWLR_LAYER_SHELL_V1_LAYER_TOP,
 	};
 	LayerSurface *layersurface;
+	if (!m->wlr_output->enabled)
+		return;
 
 	/* Arrange exclusive surfaces from top->bottom */
 	for (i = 3; i >= 0; i--)