devoidwm icon indicating copy to clipboard operation
devoidwm copied to clipboard

bug: border_width adds gaps to top and left of window

Open ethanmlee opened this issue 1 year ago • 0 comments

anytime I set the border_width to anything other than 0 it adds gaps to the top and the left of the window of the same size as what was set as the border_width

example of bug: borderissue

this can somewhat be solved by setting the bottom and right margins to the same value as the border_width however this doesn't solve the issue if you don't want any gaps or want the gaps to be smaller than the border_width.

example of workaround: borderissueworkaround

I also tried messing with setting negative values in the margins but it really just ends up breaking more and figured creating a github issue or trying to create a pull request with a more official fix would be a better solution. I would write a pull request myself, however I am very new to C and need to learn the syntax so It would prob take much longer for me to try and fix it than just creating a github issue. If there is anything I can do to help fix this bug just let me know :).

Sidenote: I am loving this WM, it's like dwm but without a bar or the ability to spawn programs, which I don't want my window manager to do anyways. Keep up the good work and hopefully I can contribute to the project in the future when I am more proficient with C.

ethanmlee avatar Dec 03 '22 22:12 ethanmlee