Maximus: Cleanup the code
commit2ad40e0734c4f2143a57c24f7b00ec2f17fe5986
authorCarlos R. Mafra <crmafra@gmail.com>
Thu, 18 Mar 2010 00:33:19 +0000 (18 01:33 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 20 Mar 2010 17:42:56 +0000 (20 18:42 +0100)
tree274919026f3b5259d1b7201bbee5118b2b5603f7
parent5178465bb604ba59c6657d056fdc5d2bcaf83588
Maximus: Cleanup the code

By defining a struct containing the coordinates of the
windows (top, bottom, left, right, width, height) and
using a helper function to set up these coordinates, the
whole function becomes much cleaner and easier to read.
src/actions.c