Mod+Wheel resize increment now respects size hints
commit1f1eb393f8277b0032e1ac6accc7af3a4d517cef
authorJohann Haarhoff <johann@haarhoff.org.za>
Mon, 12 Oct 2009 19:48:45 +0000 (12 21:48 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 13 Oct 2009 10:17:57 +0000 (13 12:17 +0200)
tree1d876e54380d67b489f5dcc1ecb4550c62197f80
parentbf88570a5f8f3ebd14ea080742170e01978f6a45
Mod+Wheel resize increment now respects size hints

Thanks to Iains patch which showed me how to access the window hints, I
now propose the following: The resize increment is set to the closest
multiple of the size hints larger than wPreferences.resize_increment.

This should fix Carlos' complaint about fixed-increment windows resizing
too "slowly", and it also fixes my complaint about the blank space below
the last line of an xterm.

Thanks to:
    Iain Patterson <wm@iain.cx>
src/window.c