Skip to content
Commit 6249f888 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 bc68ea0a
Loading
Loading
Loading
Pipeline #315005 failed with stage
in 1 hour, 9 minutes, and 7 seconds
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