mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-02-05 10:43:07 +00:00
Updated genericgaps (markdown)
parent
0b6102f07f
commit
2c99cb9a25
@ -1,11 +1,11 @@
|
|||||||
### Description
|
### Description
|
||||||
This patch is a modified version of [vanitygaps][vanitygaps] that adds gaps around windows regardless of a layout.
|
This patch is a modified version of [vanitygaps][vanitygaps] that 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 means you can apply any layout patch and the gaps will be work correctly with that layout without any modifications (as long as the layout does not add any gaps on its own).
|
||||||
|
|
||||||
This works by allowing a layout to place windows its way,
|
This works by allowing a layout to place windows normally without gaps,
|
||||||
but then correcting windows positions and dimensions afterwards to add gaps around them.
|
but then correcting windows positions and dimensions afterwards to add gaps around them.
|
||||||
To make it work, `resize()` function was modified.
|
To make it work, I had to modify `resize()` function,
|
||||||
As a side effect, it also fixed some flickering I experienced when using [snail][snail] layout.
|
and, as a side effect, this change fixed some flickering I experienced when using [snail][snail] layout.
|
||||||
|
|
||||||
[snail]: https://github.com/djpohly/dwl/wiki/snail
|
[snail]: https://github.com/djpohly/dwl/wiki/snail
|
||||||
[vanitygaps]: https://github.com/djpohly/dwl/wiki/vanitygaps
|
[vanitygaps]: https://github.com/djpohly/dwl/wiki/vanitygaps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user