summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-06-24 14:18:21 -0500
committerDerek Foreman <derekf@osg.samsung.com>2016-06-24 14:19:36 -0500
commitc22c140c2f69a5bb0d4bd4f65d9bc030eddc6809 (patch)
tree41430af8ebdc0d9db4ae54f41221c39c1cb9e34e
parentcefcc5248fb99a9c26db95910f4df3e0339c0722 (diff)
downloadenlightenment-c22c140c2f69a5bb0d4bd4f65d9bc030eddc6809.tar.gz
Fix zone setup for wayland compositor on X
Both the X and WL code try to set up the output pointer for the zone. Make the WL output take precedence, since it's actually used for events.
-rw-r--r--src/bin/e_comp_x_randr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_x_randr.c b/src/bin/e_comp_x_randr.c
index 0cea2a6179..20ab4e54b2 100644
--- a/src/bin/e_comp_x_randr.c
+++ b/src/bin/e_comp_x_randr.c
@@ -838,7 +838,7 @@ e_comp_x_randr_create(void)
}
}
zone = e_zone_for_id_get(s->id);
- if (zone) zone->output = s;
+ if (zone && !zone->output) zone->output = s;
r->screens = eina_list_append(r->screens, s);
}