Skip to content

window: Keep proportional position in meta_window_move_between_rects

Sebastian Wick requested to merge swick/mutter:move-to-monitor into main

The previous logic tried to keep the position of the top left corner of the window relative to the top left corner of the monitor. This allowed the window to move out of the target monitor. This change keeps the proportions of the distance between the window and the monitor borders instead.

Merge request reports