Skip to content
Snippets Groups Projects
Commit 16c9a5b3 authored by Samuel Rødal's avatar Samuel Rødal Committed by Laszlo Agocs
Browse files

Pass the correct window on to QWindowSystemInterface.


Sometimes, the window's coordinate system is not bounded by
the coordinates of the QScreen (such as if the window uses a
landscape window orientation on a portrait screen).
QGuiApplication::topLevelAt() will fail to find this window, but since
we have the window already at the wayland plugin level we just use that.

We already did this for mouse events, so it's natural to do it here as
well.

Change-Id: Id086dd940aa1cf4eb4480117d243ab8a76da6cca
Reviewed-by: default avatarLaszlo Agocs <laszlo.p.agocs@nokia.com>
parent 2ed43741
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment