diff options
author | Sergio Martins <sergio.martins@kdab.com> | 2022-08-01 16:16:45 +0100 |
---|---|---|
committer | Sergio Martins <sergio.martins@kdab.com> | 2022-08-04 02:55:27 +0100 |
commit | 40d781b7b5e7925e4559cd725ddbfef307d5f455 (patch) | |
tree | 1ed6f7e46d85a5fcd21ca1ab4094d94767b341fc /src/opengl | |
parent | 8669949f0df98610d9e4ce71cb80368357cd78ea (diff) |
eglfs: Fix mouse events not being delivered to the frontmost window
Since QPlatformScreen::topLevelAt() wasn't implemented it would just fallback
to use QGuiApplication's window list.
Possibly fixes any other bug that relied on QApplication::topLevelAt().
The fix is to consult the compositor, which has proper z-order information,
unlike QGuiApplicationPrivate::window_list.
Task-Id: QTBUG-105256
Pick-to: 6.3 6.4
Change-Id: I4202dd5d87e41b69c461c808d29b809af5b52d09
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions