diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-05-10 11:38:05 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-05-11 09:06:43 +0200 |
commit | 30be6c41d5bb8ff4f42dd7ac26a763444be71c5a (patch) | |
tree | 8f0691064516fa6dadd35f3148270a57e31c48f8 /examples | |
parent | 36e5a9d025ce7132c65fae0bf6ce59e179950b88 (diff) |
eglfs: Send proper enter/leave events when multiple screens are in use
Given that there is only one mouse (which might change some day, but
hasn't yet), there can only be one window containing the mouse,
regardless of which screen it's on. The implementation before was only
able to send enter/leave events when moving from one window to another
on the same screen; but we need the enter/leave events to be sent when
moving between two full-screen windows on two screens as well.
Also send an enter event the first time the mouse moves, to whichever
window that happens to be. A Wayland compositor that renders its own
cursor will need to know which screen is in use at the beginning.
Pick-to: 5.15
Fixes: QTBUG-83973
Task-number: QTBUG-55161
Task-number: QTBUG-79924
Change-Id: Ie6f36cd33b103955a70bac73c1485bf475c08468
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions