> > Toolbar is fixed... however, I'm still getting a gap between the top of > the slit and the strut, of exactly 2 * the borderwidth + 1px (ie > border=5, gap=11; border=2, gap=5) > > But anyway, nearly there. You're doing an awesome job :) > > Thanks heaps, > Matt.
okie dokily. two problems were found: 1) the edge snap code in Window.cc needed a +1 to bottom and right values. This is part of the reason when moving windows around they would flush to the left and top but not to the right or bottom. 2) the case you were hitting (and this only affected slits on the bottom AND horizontal) did not need the borderWidth adjustment because it is already factored into the screen height and rect size. so all seems well. I cranked the border width up to 7 and played around for a while. P.S. your style is not half bad.
