finagle the fenestra

Thu, 24 Oct 2013 23:32:20 +0000

So I have a working laptop again, but the touchpad has a frankly rather stupid “touch then drag” behaviour that makes window placement an absolute pain. In my lunch hour yesterday, lacking the internet access I needed to address the Clojure issue that I had originally holed up in the Barbican library to work on (couldn’t get a 3G or a wireless connection) I decided to look again at last year’s ‘throw-window’ sawfish hackery , and have turned it into something slightly more useful: now instead of slinging the focused window all the way to the screen edge it only moves it to butt up against the next window on the screen (more precisely, it moves to align with the lext or right border of teh next window along).

The code is at (i.e. it hasn’t moved) and there are a couple of other changes