Simplify wMaximizeWindow() a little bit
commiteaca92db50a59aca797f8bf112ac664e94d277a2
authorCarlos R. Mafra <crmafra@gmail.com>
Wed, 16 Sep 2009 19:16:57 +0000 (16 21:16 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 16 Sep 2009 22:46:14 +0000 (17 00:46 +0200)
treef22a3e50c88d76d1232b5214149cc1fd7cc7e54b
parent1a8571997107f086f50cbe6d672c252018bb6987
Simplify wMaximizeWindow() a little bit

Let's avoid checking the existence of a border every time
we want to adjust the widths. So we'll always subtract the correction
factor, which is zero in case the window has no border.
src/actions.c