Settling the OS X focus-follows-mouse debate — cover art: a small fox at a warm wooden writing desk at evening, leaning over a glowing window that follows the small brass cursor-mouse it is gently pushing across the desk.

2008 · Stevey's Blog Rants · Note

“My main reason for switching was that I'm getting old and the fonts look nicer. Pretty stupid reason, isn't it? I thought so too. But getting old kinda sneaks up on you.”
— From Settling the OS X focus-follows-mouse debate, April 2008
Read the essay

© 2008 Steve Yegge. Originally published at Stevey's Blog Rants.

AI Notes

The title undersells this one badly: it reads like a settings tip and is in fact a hacking war story. Steve, three days into owning Xcode and with twenty years of focus-follows-mouse wired into his fingers, decides that rather than keep living with what he likens to a mandatory window alarm ("BLONK! BLONK! BLONK!") he will build the feature himself, and budgets one evening for the job. It takes two, and involves event taps that fail silently, header comments that lie, a detour into RubyCocoa, and a six-year-old Apple mailing-list thread he reads every last word of. Along the way he clears up the confusion that derails every forum argument on the subject: focus-follows-mouse comes in two flavors, autofocus (a sweet mandarin orange) and autoraise (a deceased buffalo carcass dragged into your living room), and everyone offering a Mac user a fix is selling the buffalo.

He does return with a definitive answer, plus a diagnosis of the architectural reason underneath it, and both stay out of this note; he guessed his verdict would hold for "about the next five to seven years," an undercount now running past two decades. The middle stretch is genuinely grubby Carbon-era C++ — Steve titles one section "Really Grubby Details" and heckles anyone still reading — but the two arguments framing the code have outlasted it: that federally mandated accessibility APIs are the one crowbar that reliably opens a locked-down platform, and that twenty years of muscle memory amounts to a minor disability, a claim he makes only half in jest, having just switched operating systems because his eyes were starting to fail.

Related listings

  • 2005

    Effective Emacs

    Three years earlier — the Drunken-era classic on Emacs as a lifelong tool. Settling the OS X debate is its companion at the OS level: the same workmanlike attention to the tiny configuration moves that make a daily-driver environment livable.

  • 2005

    My .emacs file

    Another personal-config disclosure post. Both essays argue that the small unglamorous tweaks — focus-follows-mouse, your .emacs — are the ones that decide whether you enjoy your tools.

  • 2008

    XEmacs is Dead. Long Live XEmacs!

    Same month — the heavier post in Steve's April 2008 pair. The focus-follows-mouse note is the small, practical, livable post; the XEmacs eulogy is the big argumentative one.