Skip to content

window: Fix portrait orientation check for tiling

Uzair Ahmad requested to merge uahmad/mutter:fix-portrait-monitor-tiling into main

Use work area from the monitor that the window is currently on to determine if tiling should be allowed.

Window tiling is disabled for monitors with portrait orientation, but the work area we use to detect portrait orientation is taken from the monitor that currently has the mouse pointer.

This works fine for edge tiling using the mouse, but this is broken when using keybindings for window tiling because your mouse pointer could be on a different monitor that has horizontal orientation.

Merge request reports

Loading