Skip to content

Add quarter tiling window snapping #118

Open
@Jacalz

Description

@Jacalz

Arguably the best thing about windows is that it was the first to introduce quarter tiling window snapping. Most Linux window manager do this too, however some like Mutter in Gnome only do so with left and right in dual tiling. If we are to implement it, we ought to do it good from the start :)

The solution would look something like this:

Dragging of window:

  • Dragging to right edge of screen should tile the window to the right half of the screen.
  • Dragging to left edge of screen should tile the window to the left half of the screen.
  • Dragging to the top edge of screen should make it maximized.
  • Dragging to any screen corner should tile it to 25% of screen in that corner.
  • Window should go back to the size it had before when dragging it away again.

Moving using keyboard (using the super key, aka your windows key):

  • Super + Right should tile the window to the right half of the screen.
  • Super + Left should tile the window to the left half of the screen.
  • Super + Left followed by Super + Up should quarter tile to top left 25% of screen (same for up, down and left, right key-presses in the correct 25% corner spot).
  • Super + Down should go out of of the snapped tiling.
  • Super + Down + Down should minimize to the icon dock.

All manual dragging should show a highlight of the screen.

To sum it up, we should follow what Windows are doing :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions