Re: [dev] [dwm] [patch] Need help regarding tilegap patch

2019-04-07 Thread deurzen
Nothing wrong with that. Only situation in which this would crash is if 2*gappx exceeds the width or height of the tiled area, obviously. > On 7 Apr 2019, at 16:15, Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > Hi, > I am using dwm-tilegap-6.2 patch to get gaps around windows. But the > gaps on

[dev] [dwm] [patch] Need help regarding tilegap patch

2019-04-07 Thread Enan Ajmain
Hi, I am using dwm-tilegap-6.2 patch to get gaps around windows. But the gaps only show in tiling mode. I assumed that similar support for monocle mode could be easily hacked. Now, I changed the monocle function in `dwm.c` in the following way. ``` void monocle(Monitor *m) { unsigned int n = 0; Cl