Add genericgaps patch

Nikita Ivanov 2023-05-20 02:23:18 +02:00
parent dba22cdc6a
commit 7c365875a7

16
genericgaps.md Normal file

@ -0,0 +1,16 @@
### Description
This patch adds gaps around windows regardless of a layout.
This means you can apply any layout patches and the gaps will be displayed there as well.
This works by allowing a layout to place windows its way,
but then correcting windows positions and dimensions afterwards to add gaps around them.
To make it work, `resize()` function was modified.
As a side effect, it also fixed some flickering I experienced when using [snail][snail] layout.
[snail]: https://github.com/djpohly/dwl/wiki/snail
### Download
- [2023-05-20](https://github.com/djpohly/dwl/compare/main...NikitaIvanovV:genericgaps.patch)
### Authors
- [Nikita Ivanov](https://github.com/NikitaIvanovV)