https://bugs.kde.org/show_bug.cgi?id=167852
--- Comment #67 from Martin Gräßlin <mgraess...@kde.org> --- Git commit 58db4777966e380aede6c2f00b744ef792a49351 by Martin Gräßlin. Committed on 10/06/2016 at 10:36. Pushed by graesslin into branch 'master'. Fix the strut handling for wayland clients Summary: The implementation was broken as it transformed the QRects into QRegions, subtracted the geometries and took the bounding rect again. In several setups this could result in the strut getting ignored. This change improves the calculation of the struts by creating a QMargin which describes the area which needs to be subtracted from a screen rect. The QMargin is only adjusted for the edge the window borders. We can assume that a window with a strut needs to border a screen on Wayland. With this change we are also able to support panels between screens. On Wayland a panel placed on the right of a left screen affects the maximization area of the left screen, but does not affect the overall workarea. Reviewers: #plasma_on_wayland, #kwin Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D1803 M +122 -0 autotests/wayland/struts_test.cpp M +30 -5 geometry.cpp http://commits.kde.org/kwin/58db4777966e380aede6c2f00b744ef792a49351 -- You are receiving this mail because: You are watching all bug changes.