diff options
author | David Skoland <david.skoland@qt.io> | 2021-12-07 17:16:36 +0100 |
---|---|---|
committer | David Skoland <david.skoland@qt.io> | 2022-01-17 18:23:50 +0100 |
commit | 5359d420afda4a4562f27d44251ae8cf764406b8 (patch) | |
tree | ea8b1f3ce0a49d0bc8d3852bda48d03ef876885b /tests/auto/other | |
parent | b99c08dd4ed6c9660e1b2c4d93cb1271e8039e03 (diff) |
Move input event logic into QWasmCompositor
Move the window logic and state out of QWasmEventTranslator and into
QWasmCompositor.
The reasoning for this change is that the state of the windowing
system was split between QWasmCompositor (eg. window stack) and
QWasmEventTranslator (eg. dragged and pressed windows). This change
moves the input handling and state to QWasmCompositor and demotes
QWasmEventTranslator to a helper class. In this model, QWC acts
as a proper window system / display server and can leverage multiple
helper classes which are "owned" by the QWC.
Here is a quick diagram illustrating the proposed general architecture
around WASM window handling and its difference from typical OSes:
https://i.imgur.com/vcBwUPf.png
Change-Id: Idca617992b8e1b431e5c71d46b5db61597c99e75
Pick-to: 6.3
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests/auto/other')
0 files changed, 0 insertions, 0 deletions