stumpwm/stumpwm — pull request #105 by jorams (2014-07-22 19:52:55+00:00)
Title: Guess removed head by frame number. Fixes #71

SCALE-SCREEN tried to guess what head was removed by comparing their
screen position. If the removed head was positioned left or above other
heads, the other heads were moved to the left or up before SCALE-SCREEN
is ever called. This resulted in SCALE-SCREEN guessing wrong at what
head was removed.

Frame numbers of heads haven't (yet) been reassigned when SCALE-SCREEN
is called, so compare those instead.