diff --git a/genericgaps.md b/genericgaps.md new file mode 100644 index 0000000..06e65be --- /dev/null +++ b/genericgaps.md @@ -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) \ No newline at end of file