Fix geometry for drm outputs

It appears that config.geom.x and config.geom.y specify the corner of
an output in global space, but ecore_drm2_output_mode_set's x and y
are offsets into the framebuffer for the corner of the display.

Just pass 0, 0 and everything will be ok.
This commit is contained in:
Derek Foreman 2017-07-27 15:20:32 -05:00 committed by Mike Blumenkrantz
parent 23eb5fb3ba
commit ff915f92f2
1 changed files with 1 additions and 2 deletions

View File

@ -622,8 +622,7 @@ _drm2_randr_apply(void)
if (s->config.priority > top_priority)
top_priority = s->config.priority;
ecore_drm2_output_mode_set(output, mode,
s->config.geom.x, s->config.geom.y);
ecore_drm2_output_mode_set(output, mode, 0, 0);
/* TODO: cannot support rotations until we support planes
* and we cannot support planes until Atomic support is in */