Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

Title bar doesn't work properly in case its size differs from the size of borders #410

Closed
alexander-smoktal opened this issue Oct 10, 2017 · 3 comments · Fixed by #439
Closed
Labels
Milestone

Comments

@alexander-smoktal
Copy link
Contributor

Steps to reproduce:

  1. Open ~/.config/way-cooler/init.lua
  2. Change way_cooler.windows.borders.size to 10
  3. Run binary

Result: container title bar is too narrow. There is a hole below.

@Timidger Timidger added this to the 0.7 milestone Oct 10, 2017
@Timidger
Copy link
Member

Thanks for the report, there's probably a hardcoded number somewhere that's incorrect.

For anyone wanting to work on it, the problem is probably somewhere in here

@Timidger
Copy link
Member

If I had to guess, it's probably this little number

@Arnaz87
Copy link
Contributor

Arnaz87 commented Nov 22, 2017

I think the issue may be in this line, the height of the drawing geometry is being set to thickness, which is always the edge thickness times 2, not considering at all the title bar height.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants