Skip to content
Commit 88bc25b3 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

DecorationInputFilter: Use QPointF instead of QPoint for events

`QMouseEvent::globalPos()` returns QPoint rather than QPointF, which
internally rounds the screen position. This can result in mouse
positions that are outside the screen, leading to problems. Since
screenPos() seems to be the same, use that so we get a QPointF instead.
Additionally, apply similar changes to the other events.
parent 6ef2cdc3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment