Toggle line numbers correctly when switching windows

When a window is no longer active, we want to use absolute instead
of relative line numbering...

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>