{"action":"created","issue":{"url":"https://api.github.com/repos/mintty/mintty/issues/547","repository_url":"https://api.github.com/repos/mintty/mintty","labels_url":"https://api.github.com/repos/mintty/mintty/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/mintty/mintty/issues/547/comments","events_url":"https://api.github.com/repos/mintty/mintty/issues/547/events","html_url":"https://github.com/mintty/mintty/issues/547","id":152011242,"number":547,"title":"Title bar scaling interferes with DPI scaling on multiple monitors with different resolutions","user":{"login":"nobk","id":4659870,"avatar_url":"https://avatars.githubusercontent.com/u/4659870?v=3","gravatar_id":"","url":"https://api.github.com/users/nobk","html_url":"https://github.com/nobk","followers_url":"https://api.github.com/users/nobk/followers","following_url":"https://api.github.com/users/nobk/following{/other_user}","gists_url":"https://api.github.com/users/nobk/gists{/gist_id}","starred_url":"https://api.github.com/users/nobk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobk/subscriptions","organizations_url":"https://api.github.com/users/nobk/orgs","repos_url":"https://api.github.com/users/nobk/repos","events_url":"https://api.github.com/users/nobk/events{/privacy}","received_events_url":"https://api.github.com/users/nobk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mintty/mintty/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-04-30T05:27:24Z","updated_at":"2016-05-09T22:08:36Z","closed_at":null,"body":"On main monitor 5K(5120x2880), mintty for msys2 shows the correct window caption height and scroll bar width like other app, but when I drag it to second monitor 2.5K(2560x1440), the window caption height and scroll bar width became twice larger than other app in that monitor, but the font size inside the terminal is correct.\r\nOS windows 10 or windows 8.1. \r\nmintty 2.2.3 (x86_64-pc-msys) and github mintty 2.3.5 (x86_64-pc-msys)\r\n\r\nmon1 5k:\r\n![5k](https://cloud.githubusercontent.com/assets/4659870/14934050/c2e26f1e-0ed6-11e6-9b36-3f3c692c71f8.PNG)\r\n\r\nmon2 2.5k:\r\n![2k5](https://cloud.githubusercontent.com/assets/4659870/14934051/ce903e86-0ed6-11e6-9484-a0c8a9322cb8.PNG)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mintty/mintty/issues/comments/218004964","html_url":"https://github.com/mintty/mintty/issues/547#issuecomment-218004964","issue_url":"https://api.github.com/repos/mintty/mintty/issues/547","id":218004964,"user":{"login":"nobk","id":4659870,"avatar_url":"https://avatars.githubusercontent.com/u/4659870?v=3","gravatar_id":"","url":"https://api.github.com/users/nobk","html_url":"https://github.com/nobk","followers_url":"https://api.github.com/users/nobk/followers","following_url":"https://api.github.com/users/nobk/following{/other_user}","gists_url":"https://api.github.com/users/nobk/gists{/gist_id}","starred_url":"https://api.github.com/users/nobk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobk/subscriptions","organizations_url":"https://api.github.com/users/nobk/orgs","repos_url":"https://api.github.com/users/nobk/repos","events_url":"https://api.github.com/users/nobk/events{/privacy}","received_events_url":"https://api.github.com/users/nobk/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T22:08:36Z","updated_at":"2016-05-09T22:08:36Z","body":"@mintty To avoid warning -Werror=unused-function, i add #if 0 to function set_per_monitor_dpi_aware() before line 158 , compile succeed. But still the same font rendering problem inside the terminal window.\r\n```\r\n//  per_monitor_dpi_aware = set_per_monitor_dpi_aware();\r\n  per_monitor_dpi_aware = true;\r\n```"}}