British director Ken Loach 's The Wind that Shakes the Barley - a drama about the struggle for Irish independence in the 1920s - has won the Palme d'Or , the top prize at the Cannes Film Festival .