Skip to content

Fix center snap zone to account for available space

Kristen McWilliam requested to merge merritt/kwin:fix_center_snap_zone into master

Currently the center snap zone differs from the Window Placement: Centered and the Workspace::slotWindowCenter() in that it does not take into consideration the space consumed by things like panels or docks, instead simply considering the center to be the dead center of the display.

This change fixes this and the center snap zone will more intuitively be the center of the useable area.

BUG: 421221

Merge request reports

Loading