Straight ahead it's similar with 'track' so apply drift corrections.
There are airports,if I'm not mistaken for ex CDG ,where you're specifically told on procedures to maintain rwy track.
If told to maintain rwy heading ,then you should not apply drift.If ,for ex ,rwy heading is 080 ,then select hdg 080 and maintain it,no drift correction required.
Adherence to these procedures is more important in areas with parallel operation,where airplanes must fly track or heading on departures,as instructed,but not both on the same time,which can result in loss of separation between airplanes,if high crosswind exists.
GBZ: so ,if at cruise ,you're told to maintain a hdg of XXX,and you see you have X-wind of 80 kts,for ex,you apply 10 deg correction to XXX? 10,or 11,or 9...
If this is the case,you're doing it wrong,my friend.
You should select XXX in the HDG MCP window,and that's all you have to do.
Sometimes ATC asks what's you're heading,then tell you to take 10 deg to the right...you apply correction also here?How much?...