[PATCH] itrafmon.c: fix window switching