Skip to content

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

Fushan Wen requested to merge cherry-pick-033b9dd1 into Plasma/5.27

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)

Merge request reports

Loading