diff options
author | Vlad Zahorodnii <vlad.zahorodnii@kde.org> | 2023-02-20 15:26:45 +0200 |
---|---|---|
committer | Vlad Zahorodnii <vlad.zahorodnii@kde.org> | 2023-02-28 14:09:40 +0200 |
commit | 59fae923d72eaf640035237ae6ddb1ccfeba2210 (patch) | |
tree | f8c2e6c865acb6059e4d292e8b2fe314ed3e37cf /src/client/qwaylandinputdevice_p.h | |
parent | 82d4dad14fe763c6cb0b5d3c4ef4109243e8ab39 (diff) |
Client: Update last input device on tablet tool tap
When user uses tablet exclusively to navigate in an app, the last
tracked input device will be null. As the result, any popup that
requires a popup grab will be backed by an xdg-toplevel rather than an
xdg-popup.
Fixes: QTBUG-111130
Change-Id: Ib87e732603bbe111c584361357727171825f8c68
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/qwaylandinputdevice_p.h')
-rw-r--r-- | src/client/qwaylandinputdevice_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandinputdevice_p.h b/src/client/qwaylandinputdevice_p.h index 17f01f490..115b39a88 100644 --- a/src/client/qwaylandinputdevice_p.h +++ b/src/client/qwaylandinputdevice_p.h @@ -84,6 +84,7 @@ public: uint32_t capabilities() const { return mCaps; } + QWaylandDisplay *display() const { return mQDisplay; } struct ::wl_seat *wl_seat() { return QtWayland::wl_seat::object(); } #if QT_CONFIG(cursor) |