Fix half_scr_width calculation
commit2ed9c12ee5baf092451b2979c0add711e216d04f
authorklaasvakie <johann@haarhoff.org.za>
Mon, 31 Aug 2009 21:33:36 +0000 (31 23:33 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 1 Sep 2009 11:57:58 +0000 (1 13:57 +0200)
tree839351bcb65fb17f311d74ddd19a526a9cad1c42
parent229b6984de2d9907e31a62e62b3ed1daecbe83d7
Fix half_scr_width calculation

Moved the half_scr_width calculation to after the

usableArea = wGetUsableAreaForHead(scr, head, &totalArea, True);

call. This fixes the problem where windows that get "half screen
maximized" cover the dock or clip.
src/actions.c