[PATCH] itrafmon.c: fix change of active window functionality