Match the icon name, click the icon and check the output of xembedsniproxy because GTK also checks mouse position.