On 20-May-2002 Matt Wilson wrote: > On Mon, 2002-05-20 at 20:59, Sean 'Shaleh' Perry wrote: >> On 20-May-2002 Matt Wilson wrote: >> > Not complaining or anything ;-), but I'm still getting the funny strut >> > placement, ie normal window to toolbar snap isn't quite - still the >> > border problem from what I can see. >> > >> >> everything looks and acts right here running the latest code from cvs. > > SS up at http://waughconsult.co.nz/stuff/toolbar_snap.jpg >
are you running *current* cvs? This no longer happens here, even when looking at it via xmag. > > SS with a few notes scrawled on it in white :) > http://waughconsult.co.nz/stuff/ss.jpg > > Hopefully that helps... the lines xmms is snapping to seem to change > sporadically - they seem quite random. So where the lines are drawn is > where they are for today. The horizontal ones seem more frequent, and > usually in the bottom half of the screen. > > XMMS does snap properly to the screen edges (ie, in the right place) as > well as along these lines. > the line along the left is especially baffling, there is no reason for that to happen I can see. Look at Window.cc:motionNotifyEvent() and Window.cc:constrain. Add some prints in there. Add one to updateAvailableArea and print out the availableArea Rect. This is how it decides what is in bounds or not. Do a search for edgeSnap in Window.cc to find the Blackbox snapping code. > Also, is anyone else running gimp? I'm having funny resizing issues with > the main window - the buttons all squashed up, or not spreading out > properly. Wondering if that's a resize increment problem? > > Thanks, and appreciating the hard work, (if I knew c(++) I'd help, but > php ain't so useful for wm's) (or any *real* programming for that > matter) > I don't use gimp often, sorry.
