mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-30 11:34:14 +00:00
Add genericgaps patch
parent
dba22cdc6a
commit
7c365875a7
16
genericgaps.md
Normal file
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)
|
||||||
Loading…
x
Reference in New Issue
Block a user