diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2016-06-24 14:18:21 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2016-06-24 14:19:36 -0500 |
commit | c22c140c2f69a5bb0d4bd4f65d9bc030eddc6809 (patch) | |
tree | 41430af8ebdc0d9db4ae54f41221c39c1cb9e34e | |
parent | cefcc5248fb99a9c26db95910f4df3e0339c0722 (diff) | |
download | enlightenment-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.c | 2 |
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); } |