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
このコミットが含まれているのは:
Leonardo Hernández Hernández 2022-09-18 15:33:58 -05:00
コミット d14ee99661
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: E538897EE11B9624
1個のファイルの変更0行の追加2行の削除

2
dwl.c
ファイルの表示

@ -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--)