wmaker: Add more directions for window snapping.
commit47ec274760cff6b331c02d6e46fa924a8d536fc8
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Thu, 25 Sep 2014 21:02:51 +0000 (25 16:02 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 2 Nov 2014 11:50:04 +0000 (2 12:50 +0100)
treeb36b912268d0e2a9c852d8c67d3ceb48b56e9c83
parentda940a1e4dbeea644c3e616f301539a434cf9eaf
wmaker: Add more directions for window snapping.

This patch adds the ability to "snap" a window to the top, bottom, or any of the
four corners of the screen.  It uses three new helper functions, drawSnapFrame,
getSnapDirection, and doSnap, to reduce code duplication and increase
readability.

It also updates NEWS to indicate the additional directions.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
NEWS
src/moveres.c