https://bugs.kde.org/show_bug.cgi?id=456168

--- Comment #9 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 46cb1454335cd20b5ce705ed3c1205843119055b by Fushan Wen.
Committed on 27/01/2023 at 21:43.
Pushed by fusionfuture into branch 'cherry-pick-033b9dd1'.

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.
Related: bug 448050
FIXED-IN: 5.27


(cherry picked from commit 033b9dd14c6c807990f780858e543ad8eec0e913)

M  +10   -0    CMakeLists.txt
M  +14   -0    applets/systemtray/CMakeLists.txt
M  +120  -8    applets/systemtray/systemtray.cpp
M  +11   -0    applets/systemtray/systemtray.h
A  +1    -0    config-WaylandProtocols.h.cmake

https://invent.kde.org/plasma/plasma-workspace/commit/46cb1454335cd20b5ce705ed3c1205843119055b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to