{"action":"created","issue":{"url":"https://api.github.com/repos/way-cooler/way-cooler/issues/410","repository_url":"https://api.github.com/repos/way-cooler/way-cooler","labels_url":"https://api.github.com/repos/way-cooler/way-cooler/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/way-cooler/way-cooler/issues/410/comments","events_url":"https://api.github.com/repos/way-cooler/way-cooler/issues/410/events","html_url":"https://github.com/way-cooler/way-cooler/issues/410","id":264310026,"number":410,"title":"Title bar doesn't work properly in case its size differs from the size of borders","user":{"login":"alexander-smoktal","id":5363954,"avatar_url":"https://avatars3.githubusercontent.com/u/5363954?v=4","gravatar_id":"","url":"https://api.github.com/users/alexander-smoktal","html_url":"https://github.com/alexander-smoktal","followers_url":"https://api.github.com/users/alexander-smoktal/followers","following_url":"https://api.github.com/users/alexander-smoktal/following{/other_user}","gists_url":"https://api.github.com/users/alexander-smoktal/gists{/gist_id}","starred_url":"https://api.github.com/users/alexander-smoktal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexander-smoktal/subscriptions","organizations_url":"https://api.github.com/users/alexander-smoktal/orgs","repos_url":"https://api.github.com/users/alexander-smoktal/repos","events_url":"https://api.github.com/users/alexander-smoktal/events{/privacy}","received_events_url":"https://api.github.com/users/alexander-smoktal/received_events","type":"User","site_admin":false},"labels":[{"id":308921798,"url":"https://api.github.com/repos/way-cooler/way-cooler/labels/Bug","name":"Bug","color":"eb6421","default":false},{"id":376806024,"url":"https://api.github.com/repos/way-cooler/way-cooler/labels/Configuration","name":"Configuration","color":"bfdadc","default":false},{"id":705747878,"url":"https://api.github.com/repos/way-cooler/way-cooler/labels/hacktoberfest","name":"hacktoberfest","color":"d93f0b","default":false},{"id":378011723,"url":"https://api.github.com/repos/way-cooler/way-cooler/labels/Tiling","name":"Tiling","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/way-cooler/way-cooler/milestones/18","html_url":"https://github.com/way-cooler/way-cooler/milestone/18","labels_url":"https://api.github.com/repos/way-cooler/way-cooler/milestones/18/labels","id":2479004,"number":18,"title":"0.7","description":"AwesomeWM compatibility ","creator":{"login":"Timidger","id":3515754,"avatar_url":"https://avatars0.githubusercontent.com/u/3515754?v=4","gravatar_id":"","url":"https://api.github.com/users/Timidger","html_url":"https://github.com/Timidger","followers_url":"https://api.github.com/users/Timidger/followers","following_url":"https://api.github.com/users/Timidger/following{/other_user}","gists_url":"https://api.github.com/users/Timidger/gists{/gist_id}","starred_url":"https://api.github.com/users/Timidger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timidger/subscriptions","organizations_url":"https://api.github.com/users/Timidger/orgs","repos_url":"https://api.github.com/users/Timidger/repos","events_url":"https://api.github.com/users/Timidger/events{/privacy}","received_events_url":"https://api.github.com/users/Timidger/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":27,"state":"open","created_at":"2017-04-25T04:34:10Z","updated_at":"2017-11-21T02:17:00Z","due_on":"2017-12-31T08:00:00Z","closed_at":null},"comments":2,"created_at":"2017-10-10T17:20:18Z","updated_at":"2017-11-22T23:25:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Steps to reproduce:\r\n1. Open `~/.config/way-cooler/init.lua`\r\n2. Change `way_cooler.windows.borders.size` to `10`\r\n3. Run binary\r\n\r\nResult: container title bar is too narrow. There is a hole below."},"comment":{"url":"https://api.github.com/repos/way-cooler/way-cooler/issues/comments/346499672","html_url":"https://github.com/way-cooler/way-cooler/issues/410#issuecomment-346499672","issue_url":"https://api.github.com/repos/way-cooler/way-cooler/issues/410","id":346499672,"user":{"login":"Arnaz87","id":8680587,"avatar_url":"https://avatars3.githubusercontent.com/u/8680587?v=4","gravatar_id":"","url":"https://api.github.com/users/Arnaz87","html_url":"https://github.com/Arnaz87","followers_url":"https://api.github.com/users/Arnaz87/followers","following_url":"https://api.github.com/users/Arnaz87/following{/other_user}","gists_url":"https://api.github.com/users/Arnaz87/gists{/gist_id}","starred_url":"https://api.github.com/users/Arnaz87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arnaz87/subscriptions","organizations_url":"https://api.github.com/users/Arnaz87/orgs","repos_url":"https://api.github.com/users/Arnaz87/repos","events_url":"https://api.github.com/users/Arnaz87/events{/privacy}","received_events_url":"https://api.github.com/users/Arnaz87/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T23:25:42Z","updated_at":"2017-11-22T23:25:42Z","author_association":"NONE","body":"I think the issue may be in [this line](https://github.com/way-cooler/way-cooler/blob/5d4b00fa1efd8e1bb56602fda85bebd32794739a/src/layout/core/borders/container_draw.rs#L67), 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."}}
{"actor":{"display_login":"Arnaz87"}}