Skip to content

Place window initially at true top-left

To me the current window placement in mutter is not what I want.

I often have windows of different sizes on the same workspace. Often I occupy the left part of the screen with perhaps two or three terminal windows and then occupy the right part with some editor. My work-flow is to first open the terminals and then the window. With the current window placement the first terminal is placed using the "center tile rect in area" algorithm which basically places the window in the top-left corner of the screen, but with some padding. The padding is calculated by evenly distributing the remaining space in the case that the full screen would be occupied by windows of the same size. With this default placement I always end up with manually moving the first terminal window to the "true" top-left corner.

This commit disables the "center tile rect in area" algorithm and instead places the first window on each screen at the "true" top-left.

Do you guys see the use-case of having this other placement algorithm? Let's discuss!

Perhaps it shall be controlled by some configuration option. Having the following options:

  • Place initial window using the "center tile rect" algorithm.
  • Place initial window in the top-left corner. ...

Merge request reports