Skip to content
Commit 7e7313a8 authored by Fushan Wen's avatar Fushan Wen
Browse files

applets/systemtray: fix xembed icon not receiving click events when using Qt scaling

On X11, when using Qt scaling, mapToGlobal will return a scaled position
which is unusable in `SNIProxy::sendClick`. This fixes the bug by
multiplying the position  by devicePixelRatio.

BUG: 456168
FIXED-IN: 5.27


(cherry picked from commit 8b1250ac)
parent be012fb2
Pipeline #315189 passed with stage
in 12 minutes and 3 seconds
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