pop-os / cosmic-epoch

Next generation Cosmic desktop environment
1.66k stars 55 forks source link

Gaps around tiled windows should be exclusive to the active window hint size #296

Open chdalski opened 1 month ago

chdalski commented 1 month ago

Currently if the Gaps around tiled windows (Window Management settings) is lower than the Active window hint size the Active window hint size is not displayed correctly because the Gaps around windows include the active window hint size.

So for example if the gaps around tiled windows is set to 0 and the active window hint size is set to 2 the active window hint size displays to be 1 instead of 2. This behavior can be easily observed when in tiling mode.

Instead of the current behavior the active window hint size should be exclusive, meaning that the active window hint size determines the minimum gaps around tiled windows, and the actual gaps around tiled windows is the active window hint size plus the gaps around tiled windows setting.

wiiznokes commented 1 month ago

This has been discussed in this pr: https://github.com/pop-os/cosmic-comp/pull/438