elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
271 stars 76 forks source link

Snap gaps #1219

Open aral opened 3 years ago

aral commented 3 years ago

Problem

Screenshot from 2021-08-19 09-44-15@2x

This is a “nice to have”, aesthetic/emotional, and in no way essential.

Windows + wingpanel entirely covers up the wallpaper when a window is maximized or snapped left/right. Thereby feeling like a different mode and breaking some of the physicality of the desktop metaphor.

Proposal

It would be nice to have snapping behaviour (and the maximize) feature have gaps. So, instead of taking up the full real-estate, your wall paper shows through and there are margins around the windows.

Prior Art

Some tiling managers implement this.

cassidyjames commented 3 years ago

I'd be open to this, but I believe it would need to be implemented upstream in Mutter if we want to use Mutter's true tiling behavior rather than an over-the-top solution like GNOME Shell tiling plugins do. Some advantages to using the built-in behavior are automatic handling of multi-display use cases (e.g. unplugging displays, rotating displays, moving across displays, etc.), being able to communicate the tiling state down to the app (e.g. so the stylesheet can round the outside corners but keep the inside corners square), and automatic handling of simultaneous resizing.