Fart in a trance
To act like a fart in a trance is to be disorientated, drowsy or not with it, sometimes expressed as a wet fart in a trance. According to Eric Partridge, it dates from the late 19th/early 20th century.