diff options
| author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-18 15:33:58 -0500 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-18 15:35:54 -0500 | 
| commit | d14ee99661e420c8e3d8fcc6791429a0e08bd915 (patch) | |
| tree | 9f723ab6248ce38953323dd5eab8149c40800548 | |
| parent | cd96f889b8a254d4005d1f0cff71f8031d00ecd6 (diff) | |
remove useless check of `m` in arrangelayers()
it is supossed to avoid a crash when we pass m=NULL as argument
however it would crash anyway and also because we should not pass m=NULL
Diffstat (limited to '')
| -rw-r--r-- | dwl.c | 2 | 
1 files changed, 0 insertions, 2 deletions
| @@ -596,8 +596,6 @@ arrangelayers(Monitor *m)  		ZWLR_LAYER_SHELL_V1_LAYER_TOP,  	};  	LayerSurface *layersurface; -	if (!m || !m->wlr_output->enabled) -		return;  	/* Arrange exclusive surfaces from top->bottom */  	for (i = 3; i >= 0; i--) | 
