diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-02 18:49:20 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-02 18:49:20 -0500 |
commit | 68576799b96950dd36ed7c71ba0c4b1607a13cc8 (patch) | |
tree | 67a9ec3b9d04cce99f17be0c7fa75f0d1e70e724 | |
parent | 19a8a095ebe782065903b9a03670560371302206 (diff) |
don't arrange layers on disabled monitors
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -591,6 +591,8 @@ 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--) |