Converted `XGetWMIconName` into a simple call to `XGetIconName`.