sunwxg / gnome-shell-extension-arrangeWindows

MIT License
37 stars 6 forks source link

Improve window tiling arrangement #7

Closed cal-id closed 4 years ago

cal-id commented 4 years ago

This makes two changes to the tiling window arrangement:

  1. When the number of windows on the bottom row is less than in previous rows, the total screen width is used.
  2. Windows are placed into the grid so they enter a grid cell close to where they are currently on the screen. Currently, windows are placed into the grid in order of 'last to have focus' (from top left to bottom right). This leads to windows shuffling if clicking `tile' again after changing focus to a new window.

Here's before: before_2

And after: after_2

sunwxg commented 4 years ago

Thank you!