Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

bug: border_width adds gaps to top and left of window #1

@dirtytowel

Description

@dirtytowel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions