Window matching utility