Skip to content
Commit 46cb1454 authored by Fushan Wen's avatar Fushan Wen
Browse files

applets/systemtray: fix xembed icon not receiving click events when screen scale > 1 on Wayland

On Wayland, when using "Scaled by application", mapToGlobal will return a scaled position
which is unusable in SNIProxy::sendClick. This fixes the bug by
multiplying the position  by devicePixelRatio.

BUG: 448050
CCBUG: 456168
FIXED-IN: 5.27


(cherry picked from commit 033b9dd1)
parent 18b4dda5
Pipeline #317044 passed with stage
in 21 minutes and 48 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