forked from enlightenment/enlightenment
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.
This commit is contained in:
parent
cefcc5248f
commit
c22c140c2f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue