dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit a1b33826cfeb9a6764428c44cfba7d26089b40be
parent 7710cf050d1a66f35fc590e0000bb300a707a5e1
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date:   Sun, 18 Sep 2022 16:36:18 -0500

Revert "remove useless check of `m` in arrangelayers()"

This partially reverts commit d14ee99661e420c8e3d8fcc6791429a0e08bd915.

Checking if the output is enabled is necessary to avoid a segfault later

Diffstat:
Mdwl.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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--)