summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStivvo <stivvo01@gmail.com>2020-10-25 13:40:48 +0100
committerStivvo <stivvo01@gmail.com>2020-10-25 13:40:48 +0100
commite64259abf5271a28c416acfe7a9d4f6d7a3327b4 (patch)
tree7f856f0aacb1d1633261b30eba3a5f04dbb88014
parent3c3714aac05643ce59692f2c2442db3def993b4d (diff)
parent42aea0b17d6e221c8932b3c3ce63329c4b6e560d (diff)
Merge branch 'output-management' of http://olidata.stivvo01.com:3000/Stivvo01/dwl into output-management
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 56801a0..9fcd507 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1466,7 +1466,7 @@ outputmgrapplyortest(struct wlr_output_configuration_v1 *config, bool test)
Monitor *m;
wlr_output_enable(wlr_output, config_head->state.enabled);
- if (config_head->state.enabled) {
+ if (!wlr_output->enabled) {
wl_list_for_each(m, &mons, link) {
if (m->wlr_output == wlr_output) {
wlr_output_set_mode(m->wlr_output, wlr_output_preferred_mode(m->wlr_output));