Conversation
|
|
||
| #include <functional> | ||
| #include <string> | ||
| #include <cstdint> |
There was a problem hiding this comment.
clang 20 was complaining of missing type name uint8_t
The DRM backend failed to translate between view property dimensions (specified in scaled pixels) and Flutter window mentrics (specified in physical pixels). This patch fixes two issues: first, given the DRM backend (questionably) overrides the dimensions specified by the application with the native window dimensions but neglects to compensate for the current scaling factor. Secondly, cursor and touch events are not correctly mapped from physical pixels to scaled pixels. Signed-off-by: Luke Howard <lukeh@padl.com>
|
Hi @jbbjarnason This repo is being moved to https://github.com/flutter-elinux/flutter-embedded-linux -- would you mind re-opening your PR there? Also, I'm afraid I'm not familiar with the text input protocol, I'll try to find time to check later but if you know of a way to test this that'd save me a lot of time and would be appreciated :) |
These scripts are heavily based on what sony provided in [1], with the container environment / cross compilation and some details fixed up to allow rebuilding an older version more easily. If these scripts live in the source repo further improvements can be made to avoid cloning flutter-embedded-linux twice more, but they are good enough for now, so let's start with what we have. Link: sony/flutter-elinux#289 (comment) [1]
Build broke with gcc-15 due to `error: unknown type name 'uint8_t'` Adding cstdint fixes that.
issues do not exist in flutter-elinux repo, so original sony links were kept Also give thanks to sony for creating the fork
fix: add missing cstdint header
Fix DRM backend dimension scaling
flutter-elinux fork: update most URLs to github.com/flutter-elinux
publish release scripts
@martinetd I have copied this PR to the new fork |
Propagate hint of keyboard, tested only v1 code path.