Ignore WM_NORMAL_HINTS resize increment for maximized windows
commit370adc94e7b45eaeca58321ad340f2a420238816
authorDavid Maciejak <david.maciejak@gmail.com>
Wed, 15 Feb 2023 11:13:53 +0000 (15 19:13 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 16 Feb 2023 01:21:25 +0000 (16 01:21 +0000)
tree859e6a565e0ab7f40bb6bfdd58497dffd5a91e91
parent532acdc443f6a619df73d5e7c504da96c8b92d9c
Ignore WM_NORMAL_HINTS resize increment for maximized windows

If you are trying to maximize old apps that are setting a resize increment
in term of WM_NORMAL_HINTS notion the window will not be maximized fully (by a few pixels).
It's easy to reproduce with xterm, ctrl double click on the title bar.
xprop extract sample is giving:
program specified resize increment: 6 by 13

For those maximized windows the patch is just ignoring the resize increment.
Seems the same issue happened on that project
https://github.com/paperwm/PaperWM/issues/106
src/window.c