Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Imx8 fixes #2

Merged
merged 3 commits into from
Jun 17, 2021
Merged

Imx8 fixes #2

merged 3 commits into from
Jun 17, 2021

Conversation

xobs
Copy link

@xobs xobs commented Jun 17, 2021

This fixes one segfault and one exception that were discovered when bringing up flutter_wayland on an i.MX8X platform.

xobs added 3 commits June 17, 2021 13:58
This ensures that these variables are initialized, in case they can't
be re-initialized using the `seat` variable.

Signed-off-by: Sean Cross <[email protected]>
Seat management can be disabled if, for example, a device has no inputs.
This can occur in stand-alone terminal environments, or when Weston
otherwise does not have any seat management.

Simply testing for this proxy object is enough to prevent the NULL pointer
crash.

Signed-off-by: Sean Cross <[email protected]>
The previous call used EGL_OPENGL_API which does not exist on many
embedded devices. Indeed, even on Raspberry Pi, this results in identical
behavior.

Use OpenGL ES as the API in order to increase compatibility.

Signed-off-by: Sean Cross <[email protected]>
@jwinarske jwinarske merged commit 9b0fedb into jwinarske:waylandpp Jun 17, 2021
@jwinarske
Copy link
Owner

Thanks for the contribution Sean!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants