Skip to content

Presentwindows: Fix for Bugzilla Bug 448469: Highlighted window hitbox has wrong size

Niklas Stephanblome requested to merge (removed):master into master

This patch fixes bug 448469.

Issue: Hovering over a clickable window does not enlarge its clickable area. As the mouse reaches the border of the highlighted window, it gets deselected, without the mouse actually having fully left the window area. This is because, when highlighting the window, it gets painted slightly larger (the amount depends), but the area it is supposed to take up isn't enlarged.

Solution: This patch takes into account the scaling factor of the highlighted window when checking if the mouse is hovering over a window.

Merge request reports