Skip to content

Fix decoration buttons not being properly activated when maximised

Arjen Hiemstra requested to merge work/ahiemstra/decorationposition into master

Mouse positions are in floating points now, but a bunch of code still needs integers. Since QPointF to QPoint conversion rounds instead of flooring, we may in some cases end up with positions outside of the screen or geometry. To avoid that, manually floor in some places.

BUG: 460686

Requires kdecoration!24 (merged) for things to work properly.

Edited by Arjen Hiemstra

Merge request reports