Fixed X11 drop support.

This was broken by 8ae063bb1b61cf0daa9c4d4c10d6a189e8cad121.

Fixes #224.