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:
parent
3932a069f7
commit
fbceceff5a
|
@ -579,8 +579,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 */
|
||||
|
|
Loading…
Reference in New Issue